org.apache.activemq.transport.xmpp
Class XmppWireFormat
java.lang.Object
org.apache.activemq.transport.xmpp.XmppWireFormat
- All Implemented Interfaces:
- WireFormat
public class XmppWireFormat
- extends Object
- implements WireFormat
A wire format which uses XMPP format of messages
- Version:
- $Revision: 1592 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmppWireFormat
public XmppWireFormat()
copy
public WireFormat copy()
marshal
public ByteSequence marshal(Object command)
throws IOException
- Specified by:
marshal in interface WireFormat
- Throws:
IOException
unmarshal
public Object unmarshal(ByteSequence packet)
throws IOException
- Specified by:
unmarshal in interface WireFormat
- Throws:
IOException
marshal
public void marshal(Object object,
DataOutput dataOutput)
throws IOException
- Specified by:
marshal in interface WireFormat
- Throws:
IOException
unmarshal
public Object unmarshal(DataInput dataInput)
throws IOException
- Specified by:
unmarshal in interface WireFormat
- Throws:
IOException
getVersion
public int getVersion()
- Specified by:
getVersion in interface WireFormat
setVersion
public void setVersion(int version)
- Specified by:
setVersion in interface WireFormat
inReceive
public boolean inReceive()
Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.