public class BasicConsumeBody extends AMQMethodBodyImpl implements EncodableAMQDataBlock, AMQMethodBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
BasicConsumeBody(int ticket,
AMQShortString queue,
AMQShortString consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
FieldTable arguments) |
BasicConsumeBody(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() |
int |
getMethod() |
boolean |
getNoAck() |
boolean |
getNoLocal() |
boolean |
getNowait() |
AMQShortString |
getQueue() |
int |
getTicket() |
static void |
process(MarkableDataInput buffer,
ServerChannelMethodProcessor dispatcher) |
String |
toString() |
void |
writeMethodPayload(DataOutput buffer) |
generateFrame, getChannelException, getChannelNotFoundException, getConnectionException, getFrameType, getSize, getSizeOf, getSizeOf, getSizeOf, handle, readInt, readShort, readTimestamp, writeAMQShortString, writeBitfield, writeByte, writeBytes, writeFieldTable, writeInt, writeLong, writePayload, writePayload, writeShort, writeTimestamp, writeUnsignedByte, writeUnsignedInteger, writeUnsignedShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateFrame, getChannelException, getChannelNotFoundException, getConnectionException, getSize, writePayloadgetFrameType, handle, writePayloadpublic static final int CLASS_ID
public static final int METHOD_ID
public BasicConsumeBody(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic BasicConsumeBody(int ticket,
AMQShortString queue,
AMQShortString consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
FieldTable arguments)
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final int getTicket()
public final AMQShortString getQueue()
public final AMQShortString getConsumerTag()
public final boolean getNoLocal()
public final boolean getNoAck()
public final boolean getExclusive()
public final boolean getNowait()
public final FieldTable getArguments()
protected int getBodySize()
AMQMethodBodyImplgetBodySize in class AMQMethodBodyImplpublic void writeMethodPayload(DataOutput buffer) throws IOException
writeMethodPayload in interface AMQMethodBodyIOExceptionpublic boolean execute(MethodDispatcher dispatcher, int channelId) throws QpidException
execute in interface AMQMethodBodyQpidExceptionpublic String toString()
toString in interface AMQMethodBodytoString in class Objectpublic static void process(MarkableDataInput buffer, ServerChannelMethodProcessor dispatcher) throws IOException, AMQFrameDecodingException
IOExceptionAMQFrameDecodingExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.