org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Exchange.Delete
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Exchange.Delete
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Exchange
public static class AMQP.Exchange.Delete
- extends AbstractMarshallingMethod
This method deletes an exchange. When an exchange is deleted all queue
bindings on the exchange are cancelled.
Field Summary |
java.lang.String |
exchange
|
boolean |
ifUnused
If set, the server will only delete the exchange if it has no queue
bindings. |
static int |
INDEX
|
boolean |
noWait
|
int |
reserved1
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reserved1
public int reserved1
exchange
public java.lang.String exchange
ifUnused
public boolean ifUnused
- 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 a channel exception instead.
noWait
public boolean noWait
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Exchange.Delete
public AMQP.Exchange.Delete(int reserved1,
java.lang.String exchange,
boolean ifUnused,
boolean noWait)
- This method deletes an exchange. When an exchange is deleted all queue
bindings on the exchange are cancelled.
AMQP.Exchange.Delete
public AMQP.Exchange.Delete()
getMethodId
public int getMethodId()
- Specified by:
getMethodId
in class AbstractMarshallingMethod
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in class AbstractMarshallingMethod
getClassId
public int getClassId()
- Specified by:
getClassId
in class AbstractMarshallingMethod
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in class AbstractMarshallingMethod
readFrom
public void readFrom(AMQPInputStream in)
throws java.io.IOException
- Specified by:
readFrom
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
writeTo
public void writeTo(AMQPOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved