org.jivesoftware.openfire.nio
Class XMPPDecoder
java.lang.Object
org.apache.mina.filter.codec.ProtocolDecoderAdapter
org.apache.mina.filter.codec.CumulativeProtocolDecoder
org.jivesoftware.openfire.nio.XMPPDecoder
- All Implemented Interfaces:
- org.apache.mina.filter.codec.ProtocolDecoder
public class XMPPDecoder
- extends org.apache.mina.filter.codec.CumulativeProtocolDecoder
Decoder class that parses ByteBuffers and generates XML stanzas. Generated
stanzas are then passed to the next filters.
- Author:
- Gaston Dombiak
Method Summary |
protected boolean |
doDecode(org.apache.mina.common.IoSession session,
org.apache.mina.common.ByteBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
|
Methods inherited from class org.apache.mina.filter.codec.CumulativeProtocolDecoder |
decode, dispose |
Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter |
finishDecode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPDecoder
public XMPPDecoder()
doDecode
protected boolean doDecode(org.apache.mina.common.IoSession session,
org.apache.mina.common.ByteBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
- Specified by:
doDecode
in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
- Throws:
Exception
Copyright © 2003-2007 Jive Software.