Class ProtocolInitiation

    • Constructor Detail

      • ProtocolInitiation

        public ProtocolInitiation​(byte[] protocolHeader,
                                  byte protocolClass,
                                  byte protocolInstance,
                                  byte protocolMajor,
                                  byte protocolMinor)
      • ProtocolInitiation

        public ProtocolInitiation​(org.apache.qpid.server.bytebuffer.QpidByteBuffer in)
    • Method Detail

      • getSize

        public long getSize()
        Description copied from class: AMQDataBlock
        Get the size of buffer needed to store the byte representation of this frame.
        Specified by:
        getSize in class AMQDataBlock
        Returns:
        unsigned integer
      • writePayload

        public long writePayload​(org.apache.qpid.server.transport.ByteBufferSender sender)
        Specified by:
        writePayload in class AMQDataBlock
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getProtocolClass

        public byte getProtocolClass()
      • getProtocolInstance

        public byte getProtocolInstance()
      • getProtocolMajor

        public byte getProtocolMajor()
      • getProtocolMinor

        public byte getProtocolMinor()
      • toString

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