org.apache.activemq.transport.amqp
Class AmqpWireFormat
java.lang.Object
org.apache.activemq.transport.amqp.AmqpWireFormat
- All Implemented Interfaces:
- org.apache.activemq.wireformat.WireFormat
public class AmqpWireFormat
- extends Object
- implements org.apache.activemq.wireformat.WireFormat
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmqpWireFormat
public AmqpWireFormat()
marshal
public ByteSequence marshal(Object command)
throws IOException
- Specified by:
marshal in interface org.apache.activemq.wireformat.WireFormat
- Throws:
IOException
unmarshal
public Object unmarshal(ByteSequence packet)
throws IOException
- Specified by:
unmarshal in interface org.apache.activemq.wireformat.WireFormat
- Throws:
IOException
marshal
public void marshal(Object command,
DataOutput dataOut)
throws IOException
- Specified by:
marshal in interface org.apache.activemq.wireformat.WireFormat
- Throws:
IOException
unmarshal
public Object unmarshal(DataInput dataIn)
throws IOException
- Specified by:
unmarshal in interface org.apache.activemq.wireformat.WireFormat
- Throws:
IOException
setVersion
public void setVersion(int version)
- Specified by:
setVersion in interface org.apache.activemq.wireformat.WireFormat
getVersion
public int getVersion()
- Specified by:
getVersion in interface org.apache.activemq.wireformat.WireFormat
- Returns:
- the version of the wire format
getMaxFrameSize
public long getMaxFrameSize()
setMaxFrameSize
public void setMaxFrameSize(long maxFrameSize)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.