public class MessageTransferBodyImpl extends AMQMethodBody_0_9 implements MessageTransferBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
MessageTransferBodyImpl(int ticket,
AMQShortString destination,
boolean redelivered,
boolean immediate,
long ttl,
short priority,
long timestamp,
short deliveryMode,
long expiration,
AMQShortString exchange,
AMQShortString routingKey,
AMQShortString messageId,
AMQShortString correlationId,
AMQShortString replyTo,
AMQShortString contentType,
AMQShortString contentEncoding,
AMQShortString userId,
AMQShortString appId,
AMQShortString transactionId,
byte[] securityToken,
FieldTable applicationHeaders,
Content body) |
MessageTransferBodyImpl(MarkableDataInput buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
AMQShortString |
getAppId() |
FieldTable |
getApplicationHeaders() |
Content |
getBody() |
protected int |
getBodySize()
unsigned short
|
int |
getClazz() |
AMQShortString |
getContentEncoding() |
AMQShortString |
getContentType() |
AMQShortString |
getCorrelationId() |
short |
getDeliveryMode() |
AMQShortString |
getDestination() |
AMQShortString |
getExchange() |
long |
getExpiration() |
static AMQMethodBodyInstanceFactory |
getFactory() |
boolean |
getImmediate() |
AMQShortString |
getMessageId() |
int |
getMethod() |
short |
getPriority() |
boolean |
getRedelivered() |
AMQShortString |
getReplyTo() |
AMQShortString |
getRoutingKey() |
byte[] |
getSecurityToken() |
int |
getTicket() |
long |
getTimestamp() |
AMQShortString |
getTransactionId() |
long |
getTtl() |
AMQShortString |
getUserId() |
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 MessageTransferBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic MessageTransferBodyImpl(int ticket,
AMQShortString destination,
boolean redelivered,
boolean immediate,
long ttl,
short priority,
long timestamp,
short deliveryMode,
long expiration,
AMQShortString exchange,
AMQShortString routingKey,
AMQShortString messageId,
AMQShortString correlationId,
AMQShortString replyTo,
AMQShortString contentType,
AMQShortString contentEncoding,
AMQShortString userId,
AMQShortString appId,
AMQShortString transactionId,
byte[] securityToken,
FieldTable applicationHeaders,
Content body)
public static AMQMethodBodyInstanceFactory getFactory()
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final int getTicket()
getTicket in interface MessageTransferBodypublic final AMQShortString getDestination()
getDestination in interface MessageTransferBodypublic final boolean getRedelivered()
getRedelivered in interface MessageTransferBodypublic final boolean getImmediate()
getImmediate in interface MessageTransferBodypublic final long getTtl()
getTtl in interface MessageTransferBodypublic final short getPriority()
getPriority in interface MessageTransferBodypublic final long getTimestamp()
getTimestamp in interface MessageTransferBodypublic final short getDeliveryMode()
getDeliveryMode in interface MessageTransferBodypublic final long getExpiration()
getExpiration in interface MessageTransferBodypublic final AMQShortString getExchange()
getExchange in interface MessageTransferBodypublic final AMQShortString getRoutingKey()
getRoutingKey in interface MessageTransferBodypublic final AMQShortString getMessageId()
getMessageId in interface MessageTransferBodypublic final AMQShortString getCorrelationId()
getCorrelationId in interface MessageTransferBodypublic final AMQShortString getReplyTo()
getReplyTo in interface MessageTransferBodypublic final AMQShortString getContentType()
getContentType in interface MessageTransferBodypublic final AMQShortString getContentEncoding()
getContentEncoding in interface MessageTransferBodypublic final AMQShortString getUserId()
getUserId in interface MessageTransferBodypublic final AMQShortString getAppId()
getAppId in interface MessageTransferBodypublic final AMQShortString getTransactionId()
getTransactionId in interface MessageTransferBodypublic final byte[] getSecurityToken()
getSecurityToken in interface MessageTransferBodypublic final FieldTable getApplicationHeaders()
getApplicationHeaders in interface MessageTransferBodypublic final Content getBody()
getBody in interface MessageTransferBodyprotected 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.