public class CancelRequestDecorator extends ExtendedRequestDecorator<CancelRequest> implements CancelRequest, Asn1Object
requestValuemessageLengthEXTENSION_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, getRequestName, removeControl, setMessageId, setRequestNameabandon, addAbandonListener, getResponseType, isAbandonedgetResultResponse, hasResponseget, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamegetResponseTypegetResultResponsehasResponseget, getControl, getControls, getMessageId, getType, hasControl, putcomputeLength, encodepublic CancelRequestDecorator(LdapApiService codec, CancelRequest decoratedMessage)
public int getCancelId()
getCancelId in interface CancelRequestpublic void setCancelId(int cancelId)
setCancelId in interface CancelRequestcancelId - 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 © 2021. All rights reserved.