public class AmqpWireFormat extends Object implements org.apache.activemq.wireformat.WireFormat
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_FRAME_SIZE |
| Constructor and Description |
|---|
AmqpWireFormat() |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxFrameSize() |
int |
getVersion() |
ByteSequence |
marshal(Object command) |
void |
marshal(Object command,
DataOutput dataOut) |
void |
setMaxFrameSize(long maxFrameSize) |
void |
setVersion(int version) |
Object |
unmarshal(ByteSequence packet) |
Object |
unmarshal(DataInput dataIn) |
public static final int DEFAULT_MAX_FRAME_SIZE
public ByteSequence marshal(Object command) throws IOException
marshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic Object unmarshal(ByteSequence packet) throws IOException
unmarshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic void marshal(Object command, DataOutput dataOut) throws IOException
marshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic Object unmarshal(DataInput dataIn) throws IOException
unmarshal in interface org.apache.activemq.wireformat.WireFormatIOExceptionpublic void setVersion(int version)
setVersion in interface org.apache.activemq.wireformat.WireFormatpublic int getVersion()
getVersion in interface org.apache.activemq.wireformat.WireFormatpublic long getMaxFrameSize()
public void setMaxFrameSize(long maxFrameSize)
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.