org.apache.qpid.framing.amqp_8_0
Class FileReturnBodyImpl
java.lang.Object
org.apache.qpid.framing.AMQMethodBodyImpl
org.apache.qpid.framing.amqp_8_0.AMQMethodBody_8_0
org.apache.qpid.framing.amqp_8_0.FileReturnBodyImpl
- All Implemented Interfaces:
- AMQBody, AMQMethodBody, EncodableAMQDataBlock, FileReturnBody
public class FileReturnBodyImpl
- extends AMQMethodBody_8_0
- implements FileReturnBody
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
FileReturnBodyImpl
public FileReturnBodyImpl(org.apache.mina.common.ByteBuffer buffer)
throws AMQFrameDecodingException
- Throws:
AMQFrameDecodingException
FileReturnBodyImpl
public FileReturnBodyImpl(int replyCode,
AMQShortString replyText,
AMQShortString exchange,
AMQShortString routingKey)
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
getReplyCode
public final int getReplyCode()
- Specified by:
getReplyCode
in interface FileReturnBody
getReplyText
public final AMQShortString getReplyText()
- Specified by:
getReplyText
in interface FileReturnBody
getExchange
public final AMQShortString getExchange()
- Specified by:
getExchange
in interface FileReturnBody
getRoutingKey
public final AMQShortString getRoutingKey()
- Specified by:
getRoutingKey
in interface FileReturnBody
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