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 java.lang.Object
implements WireFormat

A wire format which uses XMPP format of messages


Constructor Summary
XmppWireFormat()
           
 
Method Summary
 WireFormat copy()
           
 int getVersion()
           
 boolean inReceive()
           
 ByteSequence marshal(java.lang.Object command)
           
 void marshal(java.lang.Object object, java.io.DataOutput dataOutput)
           
 void setVersion(int version)
           
 java.lang.Object unmarshal(ByteSequence packet)
           
 java.lang.Object unmarshal(java.io.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(java.lang.Object command)
                     throws java.io.IOException
Specified by:
marshal in interface WireFormat
Throws:
java.io.IOException

unmarshal

public java.lang.Object unmarshal(ByteSequence packet)
                           throws java.io.IOException
Specified by:
unmarshal in interface WireFormat
Throws:
java.io.IOException

marshal

public void marshal(java.lang.Object object,
                    java.io.DataOutput dataOutput)
             throws java.io.IOException
Specified by:
marshal in interface WireFormat
Throws:
java.io.IOException

unmarshal

public java.lang.Object unmarshal(java.io.DataInput dataInput)
                           throws java.io.IOException
Specified by:
unmarshal in interface WireFormat
Throws:
java.io.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-2012 FuseSource, Corp.. All Rights Reserved.