Class LdapProtocolDecoder

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

    public class LdapProtocolDecoder
    extends Object
    implements org.apache.mina.filter.codec.ProtocolDecoder
    A LDAP message decoder. It is based on api-ldap decoder.
    Author:
    Apache Directory Project
    • Constructor Detail

      • LdapProtocolDecoder

        public LdapProtocolDecoder()
        Creates a new instance of LdapProtocolEncoder.
    • Method Detail

      • decode

        public void decode​(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:
        decode in interface org.apache.mina.filter.codec.ProtocolDecoder
        Throws:
        Exception
      • finishDecode

        public void finishDecode​(org.apache.mina.core.session.IoSession session,
                                 org.apache.mina.filter.codec.ProtocolDecoderOutput out)
                          throws Exception
        Specified by:
        finishDecode in interface org.apache.mina.filter.codec.ProtocolDecoder
        Throws:
        Exception
      • dispose

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