|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.LdapMessageCodec
org.apache.directory.shared.ldap.codec.abandon.AbandonRequestCodec
public class AbandonRequestCodec
A AbandonRequest Message. Its syntax is : AbandonRequest ::= [APPLICATION 16] MessageID MessageID ::= INTEGER (0 .. maxInt) maxInt INTEGER ::= 2147483647 -- (2^^31 - 1) --
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
|---|
ldapMessageLength |
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
AbandonRequestCodec()
Creates a new AbandonRequest object. |
|
| Method Summary | |
|---|---|
protected int |
computeLengthProtocolOp()
Compute the AbandonRequest length AbandonRequest : 0x50 0x0(1..4) abandoned MessageId Length(AbandonRequest) = Length(0x50) + 1 + Length(abandoned MessageId) |
protected void |
encodeProtocolOp(ByteBuffer buffer)
Encode the Abandon protocolOp part |
int |
getAbandonedMessageId()
Get the abandoned message ID |
MessageTypeEnum |
getMessageType()
Get the message type |
String |
getMessageTypeName()
Get the message type Name |
void |
setAbandonedMessageId(int abandonedMessageId)
Set the abandoned message ID |
String |
toString()
Return a String representing an AbandonRequest |
| Methods inherited from class org.apache.directory.shared.ldap.codec.LdapMessageCodec |
|---|
addControl, addControls, computeLength, encode, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, initControls, setMessageId, toString |
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbandonRequestCodec()
| Method Detail |
|---|
public int getAbandonedMessageId()
public MessageTypeEnum getMessageType()
getMessageType in class LdapMessageCodecpublic String getMessageTypeName()
getMessageTypeName in class LdapMessageCodecpublic void setAbandonedMessageId(int abandonedMessageId)
abandonedMessageId - The abandoned messageID to set.protected int computeLengthProtocolOp()
computeLengthProtocolOp in class LdapMessageCodec
protected void encodeProtocolOp(ByteBuffer buffer)
throws EncoderException
encodeProtocolOp in class LdapMessageCodecEncoderExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||