Class AmqpHeader


  • public class AmqpHeader
    extends Object
    Represents the AMQP protocol handshake packet that is sent during the initial exchange with a remote peer.
    • Constructor Detail

      • AmqpHeader

        public AmqpHeader()
      • AmqpHeader

        public AmqpHeader​(org.fusesource.hawtbuf.Buffer buffer)
      • AmqpHeader

        public AmqpHeader​(org.fusesource.hawtbuf.Buffer buffer,
                          boolean validate)
    • Method Detail

      • getProtocolId

        public int getProtocolId()
      • setProtocolId

        public void setProtocolId​(int value)
      • getMajor

        public int getMajor()
      • setMajor

        public void setMajor​(int value)
      • getMinor

        public int getMinor()
      • setMinor

        public void setMinor​(int value)
      • getRevision

        public int getRevision()
      • setRevision

        public void setRevision​(int value)
      • getBuffer

        public org.fusesource.hawtbuf.Buffer getBuffer()
      • setBuffer

        public void setBuffer​(org.fusesource.hawtbuf.Buffer value)
      • setBuffer

        public void setBuffer​(org.fusesource.hawtbuf.Buffer value,
                              boolean validate)
      • hasValidPrefix

        public boolean hasValidPrefix()