Class LdapProtocolDecoder

java.lang.Object
org.apache.directory.api.ldap.codec.protocol.mina.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 Summary

    Constructors
    Constructor
    Description
    LdapProtocolDecoder(org.apache.directory.api.ldap.codec.api.LdapApiService ldapApiService)
    Creates a new instance of LdapProtocolEncoder.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)
    void
    dispose(org.apache.mina.core.session.IoSession session)
    void
    finishDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.filter.codec.ProtocolDecoderOutput out)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LdapProtocolDecoder

      public LdapProtocolDecoder(org.apache.directory.api.ldap.codec.api.LdapApiService ldapApiService)
      Creates a new instance of LdapProtocolEncoder.
      Parameters:
      ldapApiService - The LDAP API Service instance
  • Method Details

    • 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