org.apache.activemq.transport.xmpp
Class XmppWireFormat

java.lang.Object
  extended by 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 $

Constructor Summary
XmppWireFormat()
           
 
Method Summary
 WireFormat copy()
           
 int getVersion()
           
 boolean inReceive()
           
 ByteSequence marshal(Object command)
           
 void marshal(Object object, DataOutput dataOutput)
           
 void setVersion(int version)
           
 Object unmarshal(ByteSequence packet)
           
 Object unmarshal(DataInput dataInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmppWireFormat

public XmppWireFormat()
Method Detail

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.