public class DelRequestCodec extends LdapMessageCodec
ldapMessageLengthparent| Constructor and Description |
|---|
DelRequestCodec()
Creates a new DelRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeLengthProtocolOp()
Compute the DelRequest length
DelRequest :
0x4A L1 entry
L1 = Length(entry)
Length(DelRequest) = Length(0x4A) + Length(L1) + L1
|
protected void |
encodeProtocolOp(ByteBuffer buffer)
Encode the DelRequest message to a PDU.
|
DN |
getEntry()
Get the entry to be deleted
|
MessageTypeEnum |
getMessageType()
Get the message type
|
String |
getMessageTypeName()
Get the message type Name
|
void |
setEntry(DN entry)
Set the entry to be deleted
|
String |
toString()
Return a String representing a DelRequest
|
addControl, addControls, computeLength, encode, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, initControls, setMessageId, toStringaddLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic MessageTypeEnum getMessageType()
getMessageType in class LdapMessageCodecpublic String getMessageTypeName()
getMessageTypeName in class LdapMessageCodecpublic DN getEntry()
public void setEntry(DN entry)
entry - The entry to set.protected int computeLengthProtocolOp()
computeLengthProtocolOp in class LdapMessageCodecprotected void encodeProtocolOp(ByteBuffer buffer) throws EncoderException
encodeProtocolOp in class LdapMessageCodecbuffer - The buffer where to put the PDUEncoderExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.