@@ -37,29 +37,19 @@ public function exchangeDeclare(
37
37
* @return AMQPChannelInterface
38
38
**/
39
39
public function exchangeDelete (
40
- $ name , $ ifUnused = false , $ ifEmpty = false
40
+ $ name , $ ifUnused = false
41
41
);
42
42
43
43
/**
44
+ * @see http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/
44
45
* @return AMQPChannelInterface
45
46
**/
46
- public function exchangeBind ($ name , $ queue , $ routingKey );
47
+ public function exchangeBind ($ destinationName , $ sourceName , $ routingKey );
47
48
48
49
/**
49
50
* @return AMQPChannelInterface
50
51
**/
51
- public function exchangeUnbind ($ name , $ queue , $ routingKey );
52
-
53
- /**
54
- * @see http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/
55
- **/
56
- public function exchangeToExchangeBind (
57
- $ destination , $ source , $ routingKey
58
- );
59
-
60
- public function exchangeToExchangeUnbind (
61
- $ destination , $ source , $ routingKey
62
- );
52
+ public function exchangeUnbind ($ destinationName , $ sourceName , $ routingKey );
63
53
64
54
/**
65
55
* @return integer - the message count in queue
@@ -101,7 +91,7 @@ public function basicQos($prefetchSize, $prefetchCount);
101
91
/**
102
92
* @return AMQPIncomingMessage
103
93
**/
104
- public function basicGet ($ queue , $ noAck = true );
94
+ public function basicGet ($ queue , $ autoAck = true );
105
95
106
96
/**
107
97
* @return AMQPChannelInterface
@@ -117,10 +107,5 @@ public function basicConsume($queue, $autoAck, AMQPConsumer $callback);
117
107
* @return AMQPChannelInterface
118
108
**/
119
109
public function basicCancel ($ consumerTag );
120
-
121
- /**
122
- * @return AMQPIncomingMessage
123
- **/
124
- public function getNextDelivery ();
125
110
}
126
111
?>
0 commit comments