| Constructor and Description |
|---|
MQTTWireFormat() |
| Modifier and Type | Method and Description |
|---|---|
int |
getVersion() |
ByteSequence |
marshal(Object command) |
void |
marshal(Object command,
DataOutput dataOut) |
void |
setVersion(int version) |
Object |
unmarshal(ByteSequence packet) |
Object |
unmarshal(DataInput dataIn) |
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.WireFormatthe - version of the wire formatpublic int getVersion()
getVersion in interface org.apache.activemq.wireformat.WireFormatCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.