public class Cancel extends AbstractAsn1Object
cancelRequestValue ::= SEQUENCE {
cancelID MessageID
-- MessageID is as defined in [RFC2251]
}
parent| 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
|
addLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic 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()
computeLength in interface Asn1ObjectcomputeLength in class AbstractAsn1Objectpublic ByteBuffer encode() throws EncoderException
EncoderException - If anything goes wrong.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.