public class LdapProtocolDecoder extends Object implements org.apache.mina.filter.codec.ProtocolDecoder
| Constructor and Description |
|---|
LdapProtocolDecoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer buffer,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
Decode a Ldap request and write it to the remote server.
|
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) |
public void decode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer buffer,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
decode in interface org.apache.mina.filter.codec.ProtocolDecodersession - The session containing the LdapMessageContainerbuffer - The ByteBuffer containing the incoming bytes to decode
to a LDAP messageout - The callback we have to invoke when the message has been decodedExceptionpublic void finishDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
finishDecode in interface org.apache.mina.filter.codec.ProtocolDecoderExceptionCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.