public class CancelRequest extends ExtendedRequestImpl
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID
The requestName for this extended request
|
payload, response
RESP_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, toString
hashCode, hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
public 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 InternalExtendedRequest
getPayload
in class ExtendedRequestImpl
public void setPayload(byte[] payload)
setPayload
in interface InternalExtendedRequest
setPayload
in class ExtendedRequestImpl
payload
- byte array of data encapsulating ext. req. parameterspublic ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException
createExtendedResponse
in interface ExtendedRequest
createExtendedResponse
in class ExtendedRequestImpl
NamingException
public byte[] getEncodedValue()
getEncodedValue
in interface ExtendedRequest
getEncodedValue
in class ExtendedRequestImpl
public InternalResultResponse getResultResponse()
ExtendedRequestImpl
getResultResponse
in interface InternalResultResponseRequest
getResultResponse
in class ExtendedRequestImpl
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.