org.jivesoftware.openfire.nio
Class XMPPEncoder
java.lang.Object
org.apache.mina.filter.codec.ProtocolEncoderAdapter
org.jivesoftware.openfire.nio.XMPPEncoder
- All Implemented Interfaces:
- org.apache.mina.filter.codec.ProtocolEncoder
public class XMPPEncoder
- extends org.apache.mina.filter.codec.ProtocolEncoderAdapter
Encoder that does nothing. We are already writing ByteBuffers so there is no need
to encode them.
This class exists as a counterpart of XMPPDecoder
. Unlike that class this class does nothing.
- Author:
- Gaston Dombiak
Method Summary |
void |
encode(org.apache.mina.common.IoSession session,
Object message,
org.apache.mina.filter.codec.ProtocolEncoderOutput out)
|
Methods inherited from class org.apache.mina.filter.codec.ProtocolEncoderAdapter |
dispose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPEncoder
public XMPPEncoder()
encode
public void encode(org.apache.mina.common.IoSession session,
Object message,
org.apache.mina.filter.codec.ProtocolEncoderOutput out)
throws Exception
- Throws:
Exception
Copyright © 2003-2007 Jive Software.