org.apache.qpid.framing.amqp_0_9
Class AccessRequestBodyImpl
java.lang.Object
org.apache.qpid.framing.AMQMethodBodyImpl
org.apache.qpid.framing.amqp_0_9.AMQMethodBody_0_9
org.apache.qpid.framing.amqp_0_9.AccessRequestBodyImpl
- All Implemented Interfaces:
- AccessRequestBody, AMQBody, AMQMethodBody, EncodableAMQDataBlock
public class AccessRequestBodyImpl
- extends AMQMethodBody_0_9
- implements AccessRequestBody
Methods inherited from class org.apache.qpid.framing.AMQMethodBodyImpl |
generateFrame, 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, writeUnsignedShort |
CLASS_ID
public static final int CLASS_ID
- See Also:
- Constant Field Values
METHOD_ID
public static final int METHOD_ID
- See Also:
- Constant Field Values
AccessRequestBodyImpl
public AccessRequestBodyImpl(org.apache.mina.common.ByteBuffer buffer)
throws AMQFrameDecodingException
- Throws:
AMQFrameDecodingException
AccessRequestBodyImpl
public AccessRequestBodyImpl(AMQShortString realm,
boolean exclusive,
boolean passive,
boolean active,
boolean write,
boolean read)
getFactory
public static AMQMethodBodyInstanceFactory getFactory()
getClazz
public int getClazz()
- Specified by:
getClazz
in interface AMQMethodBody
- Returns:
- unsigned short
getMethod
public int getMethod()
- Specified by:
getMethod
in interface AMQMethodBody
- Returns:
- unsigned short
getRealm
public final AMQShortString getRealm()
- Specified by:
getRealm
in interface AccessRequestBody
getExclusive
public final boolean getExclusive()
- Specified by:
getExclusive
in interface AccessRequestBody
getPassive
public final boolean getPassive()
- Specified by:
getPassive
in interface AccessRequestBody
getActive
public final boolean getActive()
- Specified by:
getActive
in interface AccessRequestBody
getWrite
public final boolean getWrite()
- Specified by:
getWrite
in interface AccessRequestBody
getRead
public final boolean getRead()
- Specified by:
getRead
in interface AccessRequestBody
getBodySize
protected int getBodySize()
- Description copied from class:
AMQMethodBodyImpl
- unsigned short
- Specified by:
getBodySize
in class AMQMethodBodyImpl
writeMethodPayload
public void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
- Specified by:
writeMethodPayload
in interface AMQMethodBody
execute
public boolean execute(MethodDispatcher dispatcher,
int channelId)
throws AMQException
- Specified by:
execute
in interface AMQMethodBody
- Throws:
AMQException
toString
public String toString()
- Specified by:
toString
in interface AMQMethodBody
- Overrides:
toString
in class Object
Licensed to the Apache Software Foundation