org.apache.qpid.framing
Class TestIntegerBody

java.lang.Object
  extended by org.apache.qpid.framing.AMQBody
      extended by org.apache.qpid.framing.AMQMethodBody
          extended by org.apache.qpid.framing.TestIntegerBody
All Implemented Interfaces:
EncodableAMQDataBlock

public class TestIntegerBody
extends AMQMethodBody
implements EncodableAMQDataBlock

This class is autogenerated, do not modify. [From AMQ protocol 0.80 (major=8, minor=0)]


Field Summary
static int CLASS_ID
           
 short integer1
           
 int integer2
           
 long integer3
           
 long integer4
           
static int METHOD_ID
           
 short operation
           
 
Fields inherited from class org.apache.qpid.framing.AMQMethodBody
TYPE
 
Constructor Summary
TestIntegerBody()
           
 
Method Summary
static AMQFrame createAMQFrame(int channelId, short integer1, int integer2, long integer3, long integer4, short operation)
           
protected  int getBodySize()
          unsigned short
protected  int getClazz()
           
protected  int getMethod()
           
 void populateMethodBodyFromBuffer(org.apache.mina.common.ByteBuffer buffer)
           
 java.lang.String toString()
           
protected  void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
           
 
Methods inherited from class org.apache.qpid.framing.AMQMethodBody
getChannelException, getChannelException, getSize, getType, populateFromBuffer, writePayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

integer1

public short integer1

integer2

public int integer2

integer3

public long integer3

integer4

public long integer4

operation

public short operation
Constructor Detail

TestIntegerBody

public TestIntegerBody()
Method Detail

getClazz

protected int getClazz()
Specified by:
getClazz in class AMQMethodBody
Returns:
unsigned short

getMethod

protected int getMethod()
Specified by:
getMethod in class AMQMethodBody
Returns:
unsigned short

getBodySize

protected int getBodySize()
Description copied from class: AMQMethodBody
unsigned short

Specified by:
getBodySize in class AMQMethodBody

writeMethodPayload

protected void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
Specified by:
writeMethodPayload in class AMQMethodBody

populateMethodBodyFromBuffer

public void populateMethodBodyFromBuffer(org.apache.mina.common.ByteBuffer buffer)
                                  throws AMQFrameDecodingException
Specified by:
populateMethodBodyFromBuffer in class AMQMethodBody
Throws:
AMQFrameDecodingException

toString

public java.lang.String toString()
Overrides:
toString in class AMQMethodBody

createAMQFrame

public static AMQFrame createAMQFrame(int channelId,
                                      short integer1,
                                      int integer2,
                                      long integer3,
                                      long integer4,
                                      short operation)