org.apache.qpid.framing.amqp_0_9
Class FileConsumeBodyImpl
java.lang.Object
org.apache.qpid.framing.AMQMethodBodyImpl
org.apache.qpid.framing.amqp_0_9.AMQMethodBody_0_9
org.apache.qpid.framing.amqp_0_9.FileConsumeBodyImpl
- All Implemented Interfaces:
- AMQBody, AMQMethodBody, EncodableAMQDataBlock, FileConsumeBody
public class FileConsumeBodyImpl
- extends AMQMethodBody_0_9
- implements FileConsumeBody
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
FileConsumeBodyImpl
public FileConsumeBodyImpl(org.apache.mina.common.ByteBuffer buffer)
throws AMQFrameDecodingException
- Throws:
AMQFrameDecodingException
FileConsumeBodyImpl
public FileConsumeBodyImpl(int ticket,
AMQShortString queue,
AMQShortString consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
FieldTable filter)
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 FileConsumeBody
getQueue
public final AMQShortString getQueue()
- Specified by:
getQueue
in interface FileConsumeBody
getConsumerTag
public final AMQShortString getConsumerTag()
- Specified by:
getConsumerTag
in interface FileConsumeBody
getNoLocal
public final boolean getNoLocal()
- Specified by:
getNoLocal
in interface FileConsumeBody
getNoAck
public final boolean getNoAck()
- Specified by:
getNoAck
in interface FileConsumeBody
getExclusive
public final boolean getExclusive()
- Specified by:
getExclusive
in interface FileConsumeBody
getNowait
public final boolean getNowait()
- Specified by:
getNowait
in interface FileConsumeBody
getFilter
public final FieldTable getFilter()
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