public class ConnectionOpenBodyImpl extends AMQMethodBody_8_0 implements ConnectionOpenBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
ConnectionOpenBodyImpl(AMQShortString virtualHost,
AMQShortString capabilities,
boolean insist) |
ConnectionOpenBodyImpl(MarkableDataInput buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
protected int |
getBodySize()
unsigned short
|
AMQShortString |
getCapabilities() |
int |
getClazz() |
static AMQMethodBodyInstanceFactory |
getFactory() |
boolean |
getInsist() |
int |
getMethod() |
AMQShortString |
getVirtualHost() |
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 ConnectionOpenBodyImpl(MarkableDataInput buffer) throws AMQFrameDecodingException, IOException
AMQFrameDecodingExceptionIOExceptionpublic ConnectionOpenBodyImpl(AMQShortString virtualHost, AMQShortString capabilities, boolean insist)
public static AMQMethodBodyInstanceFactory getFactory()
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final AMQShortString getVirtualHost()
getVirtualHost in interface ConnectionOpenBodypublic final AMQShortString getCapabilities()
getCapabilities in interface ConnectionOpenBodypublic final boolean getInsist()
getInsist in interface ConnectionOpenBodyprotected 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.