public class CancelRequest extends AbstractRequest implements ExtendedRequest
| Modifier and Type | Field and Description |
|---|---|
private int |
messageId
message id to cancel.
|
static String |
OID
OID of this extended request.
|
| Constructor and Description |
|---|
CancelRequest()
Default constructor.
|
CancelRequest(int id)
Creates a new cancel request.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode()
Provides the BER encoding of this request.
|
int |
getMessageId()
Returns the message id to cancel.
|
String |
getOID()
Returns the OID for this extended request.
|
void |
setMessageId(int id)
Sets the message id to cancel.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIntermediateResponseHandlers, getReferralHandlergetControlspublic static final String OID
private int messageId
public CancelRequest()
public CancelRequest(int id)
id - of the message to cancelpublic int getMessageId()
public void setMessageId(int id)
id - of the message to cancelpublic byte[] encode()
ExtendedRequestencode in interface ExtendedRequestpublic String getOID()
ExtendedRequestgetOID in interface ExtendedRequestCopyright © 2003-2019 Virginia Tech. All Rights Reserved.