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, setReferralHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIntermediateResponseHandlers, getReferralHandler
getControls
public 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()
ExtendedRequest
encode
in interface ExtendedRequest
public String getOID()
ExtendedRequest
getOID
in interface ExtendedRequest
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.