|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.xmpp.XmppWireFormat
public class XmppWireFormat
A wire format which uses XMPP format of messages
Constructor Summary | |
---|---|
XmppWireFormat()
|
Method Summary | |
---|---|
WireFormat |
copy()
|
int |
getVersion()
|
ByteSequence |
marshal(java.lang.Object command)
Packet based marshaling |
void |
marshal(java.lang.Object object,
java.io.DataOutput dataOutput)
Stream based marshaling |
void |
setVersion(int version)
|
java.lang.Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling |
java.lang.Object |
unmarshal(java.io.DataInput dataInput)
Packet based un-marshaling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmppWireFormat()
Method Detail |
---|
public WireFormat copy()
public ByteSequence marshal(java.lang.Object command) throws java.io.IOException
WireFormat
marshal
in interface WireFormat
java.io.IOException
public java.lang.Object unmarshal(ByteSequence packet) throws java.io.IOException
WireFormat
unmarshal
in interface WireFormat
java.io.IOException
public void marshal(java.lang.Object object, java.io.DataOutput dataOutput) throws java.io.IOException
WireFormat
marshal
in interface WireFormat
java.io.IOException
public java.lang.Object unmarshal(java.io.DataInput dataInput) throws java.io.IOException
WireFormat
unmarshal
in interface WireFormat
java.io.IOException
public int getVersion()
getVersion
in interface WireFormat
public void setVersion(int version)
setVersion
in interface WireFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |