Class AmqpHeader
- java.lang.Object
-
- org.apache.activemq.transport.amqp.AmqpHeader
-
public class AmqpHeader extends Object
Represents the AMQP protocol handshake packet that is sent during the initial exchange with a remote peer.
-
-
Constructor Summary
Constructors Constructor Description AmqpHeader()
AmqpHeader(org.fusesource.hawtbuf.Buffer buffer)
AmqpHeader(org.fusesource.hawtbuf.Buffer buffer, boolean validate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fusesource.hawtbuf.Buffer
getBuffer()
int
getMajor()
int
getMinor()
int
getProtocolId()
int
getRevision()
boolean
hasValidPrefix()
void
setBuffer(org.fusesource.hawtbuf.Buffer value)
void
setBuffer(org.fusesource.hawtbuf.Buffer value, boolean validate)
void
setMajor(int value)
void
setMinor(int value)
void
setProtocolId(int value)
void
setRevision(int value)
String
toString()
-
-
-
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()
-
-