directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <akaras...@apache.org>
Subject [Shared] [LDAP] [Codec] Anyone remember why we have two LDAP ProtocolDecoder implementations?
Date Sat, 19 Feb 2011 04:21:23 GMT
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

Mime
View raw message