public class MarshallingHeader extends Object
Modifier and Type | Field and Description |
---|---|
private AMQP.Basic.BasicProperties |
basicProperties |
private long |
bodySize |
private int |
classId |
static org.objectweb.util.monolog.api.Logger |
logger |
Modifier | Constructor and Description |
---|---|
private |
MarshallingHeader() |
Modifier and Type | Method and Description |
---|---|
AMQP.Basic.BasicProperties |
getBasicProperties() |
long |
getBodySize() |
int |
getClassId() |
static MarshallingHeader |
read(byte[] payload) |
static Frame |
toFrame(long bodySize,
AMQP.Basic.BasicProperties basicProperties,
int channelNumber) |
String |
toString() |
public static org.objectweb.util.monolog.api.Logger logger
private int classId
private long bodySize
private AMQP.Basic.BasicProperties basicProperties
public int getClassId()
public long getBodySize()
public AMQP.Basic.BasicProperties getBasicProperties()
public static MarshallingHeader read(byte[] payload) throws IOException, ConnectionException
IOException
ConnectionException
public static Frame toFrame(long bodySize, AMQP.Basic.BasicProperties basicProperties, int channelNumber) throws IOException
IOException
Copyright © 2015 ScalAgent D.T.. All Rights Reserved.