public class CancelRequestDecorator extends ExtendedRequestDecorator<CancelRequest,CancelResponse> implements CancelRequest
requestValue
messageLength
EXTENSION_OID
RESP_TYPE, TYPE
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
public CancelRequestDecorator(LdapApiService codec, CancelRequest decoratedMessage)
public int getCancelId()
getCancelId
in interface CancelRequest
public void setCancelId(int cancelId)
CancelRequest
setCancelId
in interface CancelRequest
cancelId
- The id of the message to cancel.public byte[] getRequestValue()
getRequestValue
in class ExtendedRequestDecorator<CancelRequest,CancelResponse>
public void setRequestValue(byte[] requestValue)
setRequestValue
in class ExtendedRequestDecorator<CancelRequest,CancelResponse>
payload
- byte array of data encapsulating ext. req. parametersCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.