public class CompareResponseCodec extends LdapResponseCodec
ldapMessageLengthparent| Constructor and Description |
|---|
CompareResponseCodec()
Creates a new CompareResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeLengthProtocolOp()
Compute the CompareResponse length
CompareResponse :
0x6F L1
|
+--> LdapResult
L1 = Length(LdapResult)
Length(CompareResponse) = Length(0x6F) + Length(L1) + L1
|
protected void |
encodeProtocolOp(ByteBuffer buffer)
Encode the CompareResponse message to a PDU.
|
MessageTypeEnum |
getMessageType()
Get the message type
|
String |
getMessageTypeName()
Get the message type Name
|
String |
toString()
Get a String representation of an CompareResponse
|
computeLdapResultLength, encode, getLdapResponseLength, getLdapResult, setLdapResultaddControl, addControls, computeLength, encode, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, initControls, setMessageId, toStringaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic CompareResponseCodec()
protected int computeLengthProtocolOp()
computeLengthProtocolOp in class LdapMessageCodecprotected void encodeProtocolOp(ByteBuffer buffer) throws EncoderException
encodeProtocolOp in class LdapMessageCodecbuffer - The buffer where to put the PDUEncoderExceptionpublic MessageTypeEnum getMessageType()
getMessageType in class LdapMessageCodecpublic String getMessageTypeName()
getMessageTypeName in class LdapMessageCodecpublic String toString()
toString in class LdapResponseCodecCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.