|
||||||||||
| 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()
|
boolean |
inReceive()
|
ByteSequence |
marshal(Object command)
Packet based marshaling |
void |
marshal(Object object,
DataOutput dataOutput)
Stream based marshaling |
void |
setVersion(int version)
|
Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling |
Object |
unmarshal(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(Object command)
throws IOException
WireFormat
marshal in interface WireFormatIOException
public Object unmarshal(ByteSequence packet)
throws IOException
WireFormat
unmarshal in interface WireFormatIOException
public void marshal(Object object,
DataOutput dataOutput)
throws IOException
WireFormat
marshal in interface WireFormatIOException
public Object unmarshal(DataInput dataInput)
throws IOException
WireFormat
unmarshal in interface WireFormatIOExceptionpublic int getVersion()
getVersion in interface WireFormatpublic void setVersion(int version)
setVersion in interface WireFormatpublic boolean inReceive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||