public class ConnectionCloseBody extends AMQMethodBodyImpl implements EncodableAMQDataBlock, AMQMethodBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
TYPETYPE| Constructor and Description |
|---|
ConnectionCloseBody(MarkableDataInput buffer,
ProtocolVersion protocolVersion) |
ConnectionCloseBody(ProtocolVersion protocolVersion,
int replyCode,
AMQShortString replyText,
int classId,
int methodId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
protected int |
getBodySize()
unsigned short
|
int |
getClassId() |
int |
getClazz() |
int |
getMethod() |
int |
getMethodId() |
int |
getReplyCode() |
AMQShortString |
getReplyText() |
static void |
process(MarkableDataInput buffer,
MethodProcessor 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 ConnectionCloseBody(MarkableDataInput buffer, ProtocolVersion protocolVersion) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic ConnectionCloseBody(ProtocolVersion protocolVersion, int replyCode, AMQShortString replyText, int classId, int methodId)
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final int getReplyCode()
public final AMQShortString getReplyText()
public final int getClassId()
public final int getMethodId()
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, MethodProcessor dispatcher) throws IOException
IOExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.