Class XMPPCodecFactory

  • All Implemented Interfaces:
    org.apache.mina.filter.codec.ProtocolCodecFactory

    public class XMPPCodecFactory
    extends Object
    implements org.apache.mina.filter.codec.ProtocolCodecFactory
    Factory that specifies the encode and decoder to use for parsing XMPP stanzas.
    Author:
    Gaston Dombiak
    • Constructor Detail

      • XMPPCodecFactory

        public XMPPCodecFactory()
    • Method Detail

      • getEncoder

        public org.apache.mina.filter.codec.ProtocolEncoder getEncoder​(org.apache.mina.core.session.IoSession session)
                                                                throws Exception
        Specified by:
        getEncoder in interface org.apache.mina.filter.codec.ProtocolCodecFactory
        Throws:
        Exception
      • getDecoder

        public org.apache.mina.filter.codec.ProtocolDecoder getDecoder​(org.apache.mina.core.session.IoSession session)
                                                                throws Exception
        Specified by:
        getDecoder in interface org.apache.mina.filter.codec.ProtocolCodecFactory
        Throws:
        Exception