org.apache.qpid.framing.amqp_0_91
Class ExchangeDeclareBodyImpl
java.lang.Object
org.apache.qpid.framing.AMQMethodBodyImpl
org.apache.qpid.framing.amqp_0_91.AMQMethodBody_0_91
org.apache.qpid.framing.amqp_0_91.ExchangeDeclareBodyImpl
- All Implemented Interfaces:
- AMQBody, AMQMethodBody, EncodableAMQDataBlock, ExchangeDeclareBody
public class ExchangeDeclareBodyImpl
- extends AMQMethodBody_0_91
- implements ExchangeDeclareBody
Methods inherited from class org.apache.qpid.framing.AMQMethodBodyImpl |
generateFrame, getChannelException, getChannelException, getChannelNotFoundException, getConnectionException, getConnectionException, getFrameType, getSize, getSizeOf, getSizeOf, getSizeOf, getSizeOf, handle, readAMQShortString, readBitfield, readByte, readBytes, readContent, readFieldTable, readInt, readLong, readShort, readTimestamp, readUnsignedByte, readUnsignedInteger, readUnsignedShort, writeAMQShortString, writeBitfield, writeByte, writeBytes, writeContent, writeFieldTable, writeInt, writeLong, writePayload, writeShort, writeTimestamp, writeUnsignedByte, writeUnsignedInteger, writeUnsignedShort |
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
ExchangeDeclareBodyImpl
public ExchangeDeclareBodyImpl(org.apache.mina.common.ByteBuffer buffer)
throws AMQFrameDecodingException
- Throws:
AMQFrameDecodingException
ExchangeDeclareBodyImpl
public ExchangeDeclareBodyImpl(int ticket,
AMQShortString exchange,
AMQShortString type,
boolean passive,
boolean durable,
boolean autoDelete,
boolean internal,
boolean nowait,
FieldTable arguments)
getFactory
public static AMQMethodBodyInstanceFactory getFactory()
getClazz
public int getClazz()
- Specified by:
getClazz
in interface AMQMethodBody
- Returns:
- unsigned short
getMethod
public int getMethod()
- Specified by:
getMethod
in interface AMQMethodBody
- Returns:
- unsigned short
getTicket
public final int getTicket()
- Specified by:
getTicket
in interface ExchangeDeclareBody
getExchange
public final AMQShortString getExchange()
- Specified by:
getExchange
in interface ExchangeDeclareBody
getType
public final AMQShortString getType()
- Specified by:
getType
in interface ExchangeDeclareBody
getPassive
public final boolean getPassive()
- Specified by:
getPassive
in interface ExchangeDeclareBody
getDurable
public final boolean getDurable()
- Specified by:
getDurable
in interface ExchangeDeclareBody
getAutoDelete
public final boolean getAutoDelete()
- Specified by:
getAutoDelete
in interface ExchangeDeclareBody
getInternal
public final boolean getInternal()
- Specified by:
getInternal
in interface ExchangeDeclareBody
getNowait
public final boolean getNowait()
- Specified by:
getNowait
in interface ExchangeDeclareBody
getArguments
public final FieldTable getArguments()
- Specified by:
getArguments
in interface ExchangeDeclareBody
getBodySize
protected int getBodySize()
- Description copied from class:
AMQMethodBodyImpl
- unsigned short
- Specified by:
getBodySize
in class AMQMethodBodyImpl
writeMethodPayload
public void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
- Specified by:
writeMethodPayload
in interface AMQMethodBody
execute
public boolean execute(MethodDispatcher dispatcher,
int channelId)
throws AMQException
- Specified by:
execute
in interface AMQMethodBody
- Throws:
AMQException
toString
public String toString()
- Specified by:
toString
in interface AMQMethodBody
- Overrides:
toString
in class Object
Licensed to the Apache Software Foundation