I found these two classes here [0] and here [1]. Both implement ProtocolDecoder and seem to be almost identical in capability.
One seems to have been written for the client and one for the server but I don't think it makes a difference. Perhaps these two can be consolidated into single implementation. Incidentally the LdapProtocolEncoder is shared by both LdapProtocolCodecFactory implementations in shared and in apacheds. This means if we consolidate these two classes, [0] and [1], then we can easily consolidate the two codec factories. Thoughts? Regards, Alex ---- [0] http://goo.gl/tYopN - org.apache.directory.shared.ldap.codec.LdapDecoder [1] http://goo.gl/xa9sX - org.apache.directory.shared.ldap.codec.protocol.mina.LdapProtocolDecoder