public class ExchangeBoundOkBody extends AMQMethodBodyImpl implements EncodableAMQDataBlock, AMQMethodBody
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID |
static int |
EXCHANGE_NOT_FOUND |
static int |
METHOD_ID |
static int |
NO_BINDINGS |
static int |
NO_QUEUE_BOUND_WITH_RK |
static int |
OK |
static int |
QUEUE_NOT_BOUND |
static int |
QUEUE_NOT_FOUND |
static int |
SPECIFIC_QUEUE_NOT_BOUND_WITH_RK |
TYPE
TYPE
Constructor and Description |
---|
ExchangeBoundOkBody(int replyCode,
AMQShortString replyText) |
ExchangeBoundOkBody(MarkableDataInput buffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
protected int |
getBodySize()
unsigned short
|
int |
getClazz() |
int |
getMethod() |
int |
getReplyCode() |
AMQShortString |
getReplyText() |
static void |
process(MarkableDataInput buffer,
ClientChannelMethodProcessor 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, writeUnsignedShort
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateFrame, getChannelException, getChannelNotFoundException, getConnectionException, getSize, writePayload
getFrameType, handle, writePayload
public static final int CLASS_ID
public static final int METHOD_ID
public static final int OK
public static final int EXCHANGE_NOT_FOUND
public static final int QUEUE_NOT_FOUND
public static final int NO_BINDINGS
public static final int QUEUE_NOT_BOUND
public static final int NO_QUEUE_BOUND_WITH_RK
public static final int SPECIFIC_QUEUE_NOT_BOUND_WITH_RK
public ExchangeBoundOkBody(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
AMQFrameDecodingException
IOException
public ExchangeBoundOkBody(int replyCode, AMQShortString replyText)
public int getClazz()
getClazz
in interface AMQMethodBody
public int getMethod()
getMethod
in interface AMQMethodBody
public final int getReplyCode()
public final AMQShortString getReplyText()
protected int getBodySize()
AMQMethodBodyImpl
getBodySize
in class AMQMethodBodyImpl
public void writeMethodPayload(DataOutput buffer) throws IOException
writeMethodPayload
in interface AMQMethodBody
IOException
public boolean execute(MethodDispatcher dispatcher, int channelId) throws QpidException
execute
in interface AMQMethodBody
QpidException
public String toString()
toString
in interface AMQMethodBody
toString
in class Object
public static void process(MarkableDataInput buffer, ClientChannelMethodProcessor dispatcher) throws IOException
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.