Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      XMPPDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doDecode​(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)  
      • Methods inherited from class org.apache.mina.filter.codec.CumulativeProtocolDecoder

        decode, dispose, setTransportMetadataFragmentation
      • Methods inherited from class org.apache.mina.filter.codec.ProtocolDecoderAdapter

        finishDecode
    • Constructor Detail

      • XMPPDecoder

        public XMPPDecoder()
    • 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:
        doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
        Throws:
        Exception