public class CancelRequestDecorator extends ExtendedRequestDecorator<CancelRequest> implements CancelRequest, Asn1Object
requestValue
messageLength
EXTENSION_OID
Constructor and Description |
---|
CancelRequestDecorator(LdapApiService codec,
CancelRequest decoratedMessage) |
Modifier and Type | Method and Description |
---|---|
int |
getCancelId() |
byte[] |
getRequestValue() |
void |
setCancelId(int cancelId)
Sets the message to cancel by id.
|
void |
setRequestValue(byte[] requestValue)
Sets the extended request's requestValue portion of the PDU.
|
addAllControls, addControl, computeLength, encode, getExtendedRequestLength, getRequestName, getRequestNameBytes, removeControl, setExtendedRequestLength, setMessageId, setRequestName, setRequestNameBytes
abandon, addAbandonListener, getResponseType, isAbandoned
getResultResponse, hasResponse
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
getResultResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
computeLength, encode
public CancelRequestDecorator(LdapApiService codec, CancelRequest decoratedMessage)
public int getCancelId()
getCancelId
in interface CancelRequest
public void setCancelId(int cancelId)
setCancelId
in interface CancelRequest
cancelId
- The id of the message to cancel.public byte[] getRequestValue()
getRequestValue
in class ExtendedRequestDecorator<CancelRequest>
public void setRequestValue(byte[] requestValue)
setRequestValue
in class ExtendedRequestDecorator<CancelRequest>
payload
- byte array of data encapsulating ext. req. parametersCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.