public class BasicDeliverBody extends AMQMethodBodyImpl implements EncodableAMQDataBlock, AMQMethodBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
BasicDeliverBody(AMQShortString consumerTag,
long deliveryTag,
boolean redelivered,
AMQShortString exchange,
AMQShortString routingKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
protected int |
getBodySize()
unsigned short
|
int |
getClazz() |
AMQShortString |
getConsumerTag() |
long |
getDeliveryTag() |
AMQShortString |
getExchange() |
int |
getMethod() |
boolean |
getRedelivered() |
AMQShortString |
getRoutingKey() |
static void |
process(QpidByteBuffer buffer,
ClientChannelMethodProcessor dispatcher) |
String |
toString() |
void |
writeMethodPayload(QpidByteBuffer buffer) |
generateFrame, getFrameType, getSize, getSizeOf, getSizeOf, getSizeOf, handle, writeAMQShortString, writeBitfield, writeByte, writeBytes, writeFieldTable, writeInt, writeLong, writePayload, writeShort, writeUnsignedByte, writeUnsignedInteger, writeUnsignedShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateFrame, getSizegetFrameType, handle, writePayloadpublic static final int CLASS_ID
public static final int METHOD_ID
public BasicDeliverBody(AMQShortString consumerTag, long deliveryTag, boolean redelivered, AMQShortString exchange, AMQShortString routingKey)
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final AMQShortString getConsumerTag()
public final long getDeliveryTag()
public final boolean getRedelivered()
public final AMQShortString getExchange()
public final AMQShortString getRoutingKey()
protected int getBodySize()
AMQMethodBodyImplgetBodySize in class AMQMethodBodyImplpublic void writeMethodPayload(QpidByteBuffer buffer)
writeMethodPayload in class AMQMethodBodyImplpublic boolean execute(MethodDispatcher dispatcher, int channelId) throws QpidException
execute in interface AMQMethodBodyQpidExceptionpublic String toString()
toString in interface AMQMethodBodytoString in class Objectpublic static void process(QpidByteBuffer buffer, ClientChannelMethodProcessor dispatcher)
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.