public class Cancel
extends org.apache.directory.api.asn1.AbstractAsn1Object
cancelRequestValue ::= SEQUENCE {
cancelID MessageID
-- MessageID is as defined in [RFC2251]
}
| Constructor and Description |
|---|
Cancel()
Default constructor.
|
Cancel(int cancelId)
Create a Cancel object, with a messageId
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the Cancel length
0x30 L1
|
+--> 0x02 0x0(1-4) [0..2^31-1]
|
ByteBuffer |
encode()
Encodes the cancel extended operation.
|
int |
getCancelId()
Get the message Id of the request to cancel
|
void |
setCancelId(int cancelId)
Set the cancelId
|
String |
toString()
Return a string representation of the cancel
|
public Cancel(int cancelId)
cancelId - The Id of the request to cancelpublic Cancel()
public int getCancelId()
public void setCancelId(int cancelId)
cancelId - The Id of the request to cancelpublic int computeLength()
public ByteBuffer encode() throws org.apache.directory.api.asn1.EncoderException
org.apache.directory.api.asn1.EncoderException - If anything goes wrong.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.