Package qpid :: Module ops :: Class QueueDelete
[frames] | no frames]

Class QueueDelete

object --+        
         |        
  Compound --+    
             |    
       Command --+
                 |
                QueueDelete

This command deletes a queue. When a queue is deleted any pending
messages are sent to the alternate-exchange if defined, or discarded
if it is not.

  queue -- None

    Specifies the name of the queue to delete.

  if_unused -- delete only if unused

    If set, the server will only delete the queue if it has no
    consumers. If the queue has consumers the server does does not
    delete it but raises an exception instead.

  if_empty -- delete only if empty

    If set, the server will only delete the queue if it has no
    messages.

Instance Methods

Inherited from Compound: __getitem__, __init__, __repr__, __setitem__, args, dispatch, fields

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  ARGS = [queue: str8, if_unused: bit, if_empty: bit, channel: u...
  CODE = 2050
  FIELDS = [queue: str8, if_unused: bit, if_empty: bit]
  NAME = 'queue_delete'
  PACK = 2
  RESULT = None
  SIZE = 0

Inherited from Command: UNENCODED

Properties

Inherited from object: __class__

Class Variable Details

ARGS

Value:
[queue: str8,
 if_unused: bit,
 if_empty: bit,
 channel: uint16,
 id: sequence-no,
 sync: bit,
 headers: None,
 payload: None]