Package 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.CumulativeProtocolDecoderDecoder class that parses ByteBuffers and generates XML stanzas. Generated stanzas are then passed to the next filters.- Author:
- Gaston Dombiak
-
-
Constructor Summary
Constructors Constructor Description XMPPDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)
-
-
-
Method Detail
-
doDecode
protected boolean doDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out) throws Exception- Specified by:
doDecodein classorg.apache.mina.filter.codec.CumulativeProtocolDecoder- Throws:
Exception
-
-