Class AMQMethodBodyImpl

    • Constructor Detail

      • AMQMethodBodyImpl

        public AMQMethodBodyImpl()
    • Method Detail

      • getBodySize

        protected abstract int getBodySize()
        unsigned short
        Returns:
        body size
      • getSize

        public int getSize()
        Description copied from interface: AMQBody
        Get the size of the body
        Specified by:
        getSize in interface AMQBody
        Specified by:
        getSize in interface AMQMethodBody
        Returns:
        unsigned short
      • writeMethodPayload

        protected abstract void writeMethodPayload​(QpidByteBuffer buffer)
      • writeByte

        protected void writeByte​(QpidByteBuffer buffer,
                                 byte b)
      • writeInt

        protected void writeInt​(QpidByteBuffer buffer,
                                int i)
      • getSizeOf

        protected int getSizeOf​(FieldTable table)
      • writeLong

        protected void writeLong​(QpidByteBuffer buffer,
                                 long l)
      • getSizeOf

        protected int getSizeOf​(byte[] response)
      • writeBytes

        protected void writeBytes​(QpidByteBuffer buffer,
                                  byte[] data)
      • writeShort

        protected void writeShort​(QpidByteBuffer buffer,
                                  short s)
      • writeBitfield

        protected void writeBitfield​(QpidByteBuffer buffer,
                                     byte bitfield0)
      • writeUnsignedShort

        protected void writeUnsignedShort​(QpidByteBuffer buffer,
                                          int s)
      • writeUnsignedInteger

        protected void writeUnsignedInteger​(QpidByteBuffer buffer,
                                            long i)
      • writeUnsignedByte

        protected void writeUnsignedByte​(QpidByteBuffer buffer,
                                         short unsignedByte)