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

Class ExchangeDelete

object --+        
         |        
  Compound --+    
             |    
       Command --+
                 |
                ExchangeDelete

This command deletes an exchange. When an exchange is deleted all
queue bindings on the exchange are cancelled.

  exchange -- None

  if_unused -- delete only if unused

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

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 = [exchange: str8, if_unused: bit, channel: uint16, id: s...
  CODE = 1794
  FIELDS = [exchange: str8, if_unused: bit]
  NAME = 'exchange_delete'
  PACK = 2
  RESULT = None
  SIZE = 0

Inherited from Command: UNENCODED

Properties

Inherited from object: __class__

Class Variable Details

ARGS

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