@@ -207,36 +207,29 @@ void ExchangeDeclare(string exchange,
207207 [ AmqpMethodDoNotImplement ( null ) ]
208208 void ExchangeDeclarePassive ( string exchange ) ;
209209
210- ///<summary>(Spec method) Delete an exchange.</summary>
211- void ExchangeDelete ( string exchange ,
212- bool ifUnused ,
213- [ AmqpNowaitArgument ( null ) ]
214- bool nowait ) ;
210+ ///<summary>(Spec method) Delete an exchange.</summary>
211+ [ AmqpMethodDoNotImplement ( null ) ]
212+ void ExchangeDelete ( string exchange , bool ifUnused ) ;
215213
216- ///<summary>(Spec method) Delete an exchange.</summary>
214+ ///<summary>(Spec method) Delete an exchange.</summary>
215+ ///<remarks>
216+ /// The exchange is deleted regardless of any queue bindings.
217+ ///</remarks>
217218 [ AmqpMethodDoNotImplement ( null ) ]
218219 void ExchangeDelete ( string exchange ) ;
219220
220- ///<summary>(Spec method) Bind an exchange to an exchange.</summary>
221- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
222- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
223- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
221+ ///<summary>(Extension method) Bind an exchange to an exchange.</summary>
222+ [ AmqpMethodDoNotImplement ( null ) ]
224223 void ExchangeBind ( string destination ,
225224 string source ,
226225 string routingKey ,
227- [ AmqpNowaitArgument ( null ) ]
228- bool nowait ,
229- IDictionary arguments ) ;
230-
231- ///<summary>(Spec method) Unbind an exchange from an exchange.</summary>
232- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
233- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
234- AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
226+ IDictionary arguments ) ;
227+
228+ ///<summary>(Extension method) Unbind an exchange from an exchange.</summary>
229+ [ AmqpMethodDoNotImplement ( null ) ]
235230 void ExchangeUnbind ( string destination ,
236231 string source ,
237232 string routingKey ,
238- [ AmqpNowaitArgument ( null ) ]
239- bool nowait ,
240233 IDictionary arguments ) ;
241234
242235 ///<summary>(Spec method) Declare a queue.</summary>
@@ -263,12 +256,11 @@ void ExchangeUnbind(string destination,
263256 string QueueDeclare ( string queue , bool durable , bool exclusive ,
264257 bool autoDelete , IDictionary arguments ) ;
265258
266- ///<summary>(Spec method) Bind a queue to an exchange.</summary>
259+ ///<summary>(Spec method) Bind a queue to an exchange.</summary>
260+ [ AmqpMethodDoNotImplement ( null ) ]
267261 void QueueBind ( string queue ,
268262 string exchange ,
269263 string routingKey ,
270- [ AmqpNowaitArgument ( null ) ]
271- bool nowait ,
272264 IDictionary arguments ) ;
273265
274266 ///<summary>(Spec method) Unbind a queue from an exchange.</summary>
@@ -286,26 +278,21 @@ void QueueUnbind(string queue,
286278
287279 ///<summary>(Spec method) Purge a queue of messages.</summary>
288280 ///<remarks>
289- ///Returns the number of messages purged. If nowait is
290- ///specified, returns <code>uint.MaxValue</code>.
291- ///</remarks>
292- [ return : AmqpFieldMapping ( null , "messageCount" ) ]
293- uint QueuePurge ( string queue ,
294- [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
295- bool nowait ) ;
281+ ///Returns the number of messages purged.
282+ ///</remarks>
283+ [ AmqpMethodDoNotImplement ( null ) ]
284+ uint QueuePurge ( string queue ) ;
296285
297286 ///<summary>(Spec method) Delete a queue.</summary>
298287 ///<remarks>
299288 ///Returns the number of messages purged during queue
300- ///deletion. If nowait is specified, returns
289+ ///deletion.
301290 ///<code>uint.MaxValue</code>.
302- ///</remarks>
303- [ return : AmqpFieldMapping ( null , "messageCount" ) ]
291+ ///</remarks>
292+ [ AmqpMethodDoNotImplement ( null ) ]
304293 uint QueueDelete ( string queue ,
305294 bool ifUnused ,
306- bool ifEmpty ,
307- [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
308- bool nowait ) ;
295+ bool ifEmpty ) ;
309296
310297 ///<summary>(Spec method) Delete a queue.</summary>
311298 ///<remarks>
@@ -322,14 +309,6 @@ uint QueueDelete(string queue,
322309 [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
323310 void ConfirmSelect ( ) ;
324311
325- ///<summary>Enable publisher acknowledgements.</summary>
326- [ AmqpMethodDoNotImplement ( null ) ]
327- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ]
328- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ]
329- [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
330- void ConfirmSelect ( bool nowait ) ;
331-
332-
333312 ///<summary>Start a Basic content-class consumer.</summary>
334313 ///<remarks>
335314 ///The consumer is started with noAck=false (i.e. BasicAck is required),
@@ -601,7 +580,44 @@ void _Private_ExchangeDeclare(string exchange,
601580 bool @internal ,
602581 [ AmqpNowaitArgument ( null ) ]
603582 bool nowait ,
604- IDictionary arguments ) ;
583+ IDictionary arguments ) ;
584+
585+ ///<summary>Used to send a Exchange.Delete method. Called by the
586+ ///public delete method.
587+ ///</summary>
588+ [ AmqpMethodMapping ( null , "exchange" , "delete" ) ]
589+ void _Private_ExchangeDelete ( string exchange ,
590+ bool ifUnused ,
591+ [ AmqpNowaitArgument ( null ) ]
592+ bool nowait ) ;
593+
594+ ///<summary>Used to send a Exchange.Bind method. Called by the
595+ ///public bind method.
596+ ///</summary>
597+ [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
598+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
599+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
600+ [ AmqpMethodMapping ( null , "exchange" , "bind" ) ]
601+ void _Private_ExchangeBind ( string destination ,
602+ string source ,
603+ string routingKey ,
604+ [ AmqpNowaitArgument ( null ) ]
605+ bool nowait ,
606+ IDictionary arguments ) ;
607+
608+ ///<summary>Used to send a Exchange.Unbind method. Called by the
609+ ///public unbind method.
610+ ///</summary>
611+ [ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8" ) ,
612+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_8qpid" ) ,
613+ AmqpUnsupported ( "RabbitMQ.Client.Framing.v0_9" ) ]
614+ [ AmqpMethodMapping ( null , "exchange" , "unbind" ) ]
615+ void _Private_ExchangeUnbind ( string destination ,
616+ string source ,
617+ string routingKey ,
618+ [ AmqpNowaitArgument ( null ) ]
619+ bool nowait ,
620+ IDictionary arguments ) ;
605621
606622 ///<summary>Used to send a Queue.Declare method. Called by the
607623 ///public declare method.</summary>
@@ -614,7 +630,36 @@ string _Private_QueueDeclare(string queue,
614630 bool autoDelete ,
615631 [ AmqpNowaitArgument ( null ) ]
616632 bool nowait ,
617- IDictionary arguments ) ;
633+ IDictionary arguments ) ;
634+
635+ ///<summary>Used to send a Queue.Bind method. Called by the
636+ ///public bind method.</summary>
637+ [ AmqpMethodMapping ( null , "queue" , "bind" ) ]
638+ void _Private_QueueBind ( string queue ,
639+ string exchange ,
640+ string routingKey ,
641+ [ AmqpNowaitArgument ( null ) ]
642+ bool nowait ,
643+ IDictionary arguments ) ;
644+
645+ ///<summary>Used to send a Queue.Purge method. Called by the
646+ ///public purge method.</summary>
647+ [ return : AmqpFieldMapping ( null , "messageCount" ) ]
648+ [ AmqpMethodMapping ( null , "queue" , "purge" ) ]
649+ uint _Private_QueuePurge ( string queue ,
650+ [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
651+ bool nowait ) ;
652+
653+
654+ ///<summary>Used to send a Queue.Delete method. Called by the
655+ ///public delete method.</summary>
656+ [ AmqpMethodMapping ( null , "queue" , "delete" ) ]
657+ [ return : AmqpFieldMapping ( null , "messageCount" ) ]
658+ uint _Private_QueueDelete ( string queue ,
659+ bool ifUnused ,
660+ bool ifEmpty ,
661+ [ AmqpNowaitArgument ( null , "0xFFFFFFFF" ) ]
662+ bool nowait ) ;
618663
619664 ///<summary>Used to send a Basic.Publish method. Called by the
620665 ///public publish method after potential null-reference issues
0 commit comments