public class AmqpWireFormat extends java.lang.Object implements 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(java.lang.Object command) |
void |
marshal(java.lang.Object command,
java.io.DataOutput dataOut) |
void |
setMaxFrameSize(long maxFrameSize) |
void |
setVersion(int version) |
java.lang.Object |
unmarshal(ByteSequence packet) |
java.lang.Object |
unmarshal(java.io.DataInput dataIn) |
public static final int DEFAULT_MAX_FRAME_SIZE
public ByteSequence marshal(java.lang.Object command) throws java.io.IOException
marshal in interface WireFormatjava.io.IOExceptionpublic java.lang.Object unmarshal(ByteSequence packet) throws java.io.IOException
unmarshal in interface WireFormatjava.io.IOExceptionpublic void marshal(java.lang.Object command,
java.io.DataOutput dataOut)
throws java.io.IOException
marshal in interface WireFormatjava.io.IOExceptionpublic java.lang.Object unmarshal(java.io.DataInput dataIn)
throws java.io.IOException
unmarshal in interface WireFormatjava.io.IOExceptionpublic void setVersion(int version)
setVersion in interface WireFormatpublic int getVersion()
getVersion in interface WireFormatpublic long getMaxFrameSize()
public void setMaxFrameSize(long maxFrameSize)
Copyright © 2005-2015 Red Hat, Inc.. All Rights Reserved.