public class CancelRequest extends ExtendedRequestImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_OID
The requestName for this extended request
|
payload, responseRESP_TYPE, TYPE| Constructor and Description |
|---|
CancelRequest(int messageId,
int cancelId)
Creates a new instance of CancelRequest.
|
| Modifier and Type | Method and Description |
|---|---|
ExtendedResponse |
createExtendedResponse(String id,
byte[] berValue,
int offset,
int length) |
byte[] |
getEncodedValue() |
byte[] |
getPayload()
Gets the extended request's requestValue portion of the PDU.
|
InternalResultResponse |
getResultResponse()
The result containing response for this request.
|
void |
setPayload(byte[] payload)
Sets the extended request's requestValue portion of the PDU.
|
equals, getID, getOid, getResponseType, setOid, toStringhashCode, hasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removepublic static final String EXTENSION_OID
public CancelRequest(int messageId,
int cancelId)
messageId - the message idcancelId - the message id of the request to cancelpublic byte[] getPayload()
getPayload in interface InternalExtendedRequestgetPayload in class ExtendedRequestImplpublic void setPayload(byte[] payload)
setPayload in interface InternalExtendedRequestsetPayload in class ExtendedRequestImplpayload - byte array of data encapsulating ext. req. parameterspublic ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException
createExtendedResponse in interface ExtendedRequestcreateExtendedResponse in class ExtendedRequestImplNamingExceptionpublic byte[] getEncodedValue()
getEncodedValue in interface ExtendedRequestgetEncodedValue in class ExtendedRequestImplpublic InternalResultResponse getResultResponse()
ExtendedRequestImplgetResultResponse in interface InternalResultResponseRequestgetResultResponse in class ExtendedRequestImplCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.