public class BasicConsumeBodyImpl extends AMQMethodBody_0_9 implements BasicConsumeBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
BasicConsumeBodyImpl(int ticket,
AMQShortString queue,
AMQShortString consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
FieldTable arguments) |
BasicConsumeBodyImpl(MarkableDataInput buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
FieldTable |
getArguments() |
protected int |
getBodySize()
unsigned short
|
int |
getClazz() |
AMQShortString |
getConsumerTag() |
boolean |
getExclusive() |
static AMQMethodBodyInstanceFactory |
getFactory() |
int |
getMethod() |
boolean |
getNoAck() |
boolean |
getNoLocal() |
boolean |
getNowait() |
AMQShortString |
getQueue() |
int |
getTicket() |
String |
toString() |
void |
writeMethodPayload(DataOutput buffer) |
getMajor, getMinorgenerateFrame, 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, writeUnsignedShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateFrame, getChannelException, getChannelException, getChannelNotFoundException, getConnectionException, getConnectionException, getMajor, getMinor, getSize, writePayloadgetFrameType, handlepublic static final int CLASS_ID
public static final int METHOD_ID
public BasicConsumeBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic BasicConsumeBodyImpl(int ticket,
AMQShortString queue,
AMQShortString consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
FieldTable arguments)
public static AMQMethodBodyInstanceFactory getFactory()
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final int getTicket()
getTicket in interface BasicConsumeBodypublic final AMQShortString getQueue()
getQueue in interface BasicConsumeBodypublic final AMQShortString getConsumerTag()
getConsumerTag in interface BasicConsumeBodypublic final boolean getNoLocal()
getNoLocal in interface BasicConsumeBodypublic final boolean getNoAck()
getNoAck in interface BasicConsumeBodypublic final boolean getExclusive()
getExclusive in interface BasicConsumeBodypublic final boolean getNowait()
getNowait in interface BasicConsumeBodypublic final FieldTable getArguments()
getArguments in interface BasicConsumeBodyprotected int getBodySize()
AMQMethodBodyImplgetBodySize in class AMQMethodBodyImplpublic void writeMethodPayload(DataOutput buffer) throws IOException
writeMethodPayload in interface AMQMethodBodyIOExceptionpublic boolean execute(MethodDispatcher dispatcher, int channelId) throws AMQException
execute in interface AMQMethodBodyAMQExceptionpublic String toString()
toString in interface AMQMethodBodytoString in class ObjectCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.