org.apache.qpid.framing
Class ExchangeDeclareBody
java.lang.Object
org.apache.qpid.framing.AMQBody
org.apache.qpid.framing.AMQMethodBody
org.apache.qpid.framing.ExchangeDeclareBody
- All Implemented Interfaces:
- EncodableAMQDataBlock
public class ExchangeDeclareBody
- extends AMQMethodBody
- implements EncodableAMQDataBlock
This class is autogenerated, do not modify. [From AMQ protocol 0.80 (major=8, minor=0)]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLASS_ID
public static final int CLASS_ID
- See Also:
- Constant Field Values
METHOD_ID
public static final int METHOD_ID
- See Also:
- Constant Field Values
ticket
public int ticket
exchange
public java.lang.String exchange
type
public java.lang.String type
passive
public boolean passive
durable
public boolean durable
autoDelete
public boolean autoDelete
internal
public boolean internal
nowait
public boolean nowait
arguments
public FieldTable arguments
ExchangeDeclareBody
public ExchangeDeclareBody()
getClazz
protected int getClazz()
- Specified by:
getClazz
in class AMQMethodBody
- Returns:
- unsigned short
getMethod
protected int getMethod()
- Specified by:
getMethod
in class AMQMethodBody
- Returns:
- unsigned short
getBodySize
protected int getBodySize()
- Description copied from class:
AMQMethodBody
- unsigned short
- Specified by:
getBodySize
in class AMQMethodBody
writeMethodPayload
protected void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
- Specified by:
writeMethodPayload
in class AMQMethodBody
populateMethodBodyFromBuffer
public void populateMethodBodyFromBuffer(org.apache.mina.common.ByteBuffer buffer)
throws AMQFrameDecodingException
- Specified by:
populateMethodBodyFromBuffer
in class AMQMethodBody
- Throws:
AMQFrameDecodingException
toString
public java.lang.String toString()
- Overrides:
toString
in class AMQMethodBody
createAMQFrame
public static AMQFrame createAMQFrame(int channelId,
int ticket,
java.lang.String exchange,
java.lang.String type,
boolean passive,
boolean durable,
boolean autoDelete,
boolean internal,
boolean nowait,
FieldTable arguments)