public class CancelRequestDecorator extends ExtendedRequestDecorator<CancelRequest> implements CancelRequest, Asn1Object
EXTENSION_OID
Constructor and Description |
---|
CancelRequestDecorator(LdapApiService codec,
CancelRequest decoratedMessage)
Creates a new instance of CancelRequestDecorator.
|
Modifier and Type | Method and Description |
---|---|
int |
getCancelId() |
byte[] |
getRequestValue()
Gets the Extended request payload
|
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, getRequestName, removeControl, setMessageId, setRequestName
abandon, addAbandonListener, getResponseType, isAbandoned
getResultResponse, hasResponse
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
equals, 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)
codec
- The LDAP Service to usedecoratedMessage
- The canceled requestpublic 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>
requestValue
- byte array of data encapsulating ext. req. parametersCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.