Class MarshallingHeader
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.MarshallingHeader
-
public class MarshallingHeader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private AMQP.Basic.BasicPropertiesbasicPropertiesprivate longbodySizeprivate intclassIdprivate static Loggerlogger
-
Constructor Summary
Constructors Modifier Constructor Description privateMarshallingHeader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AMQP.Basic.BasicPropertiesgetBasicProperties()longgetBodySize()intgetClassId()static MarshallingHeaderread(byte[] payload)static FrametoFrame(long bodySize, AMQP.Basic.BasicProperties basicProperties, int channelNumber)StringtoString()
-
-
-
Field Detail
-
logger
private static final Logger logger
-
classId
private int classId
-
bodySize
private long bodySize
-
basicProperties
private AMQP.Basic.BasicProperties basicProperties
-
-
Method Detail
-
getClassId
public int getClassId()
-
getBodySize
public long getBodySize()
- Returns:
- the bodySize
-
getBasicProperties
public AMQP.Basic.BasicProperties getBasicProperties()
- Returns:
- the basicProperties
-
read
public static MarshallingHeader read(byte[] payload) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
toFrame
public static Frame toFrame(long bodySize, AMQP.Basic.BasicProperties basicProperties, int channelNumber) throws IOException
- Throws:
IOException
-
-