public abstract class SingleReplyRequestDecorator<M extends SingleReplyRequest> extends ResultResponseRequestDecorator<M> implements SingleReplyRequest, AbandonableRequest
messageLength| Constructor and Description |
|---|
SingleReplyRequestDecorator(LdapApiService codec,
M decoratedMessage)
Makes Request a MessageDecorator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abandon()
Abandons this request.
|
AbandonableRequest |
addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
boolean |
isAbandoned()
Checks to see if this request has been abandoned.
|
getResultResponse, hasResponseaddAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResultResponsehasResponseaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdcomputeLength, encodecomputeLength, encodepublic SingleReplyRequestDecorator(LdapApiService codec, M decoratedMessage)
decoratedMessage - the decorated messagepublic MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic void abandon()
AbandonableRequestabandon in interface AbandonableRequestpublic boolean isAbandoned()
AbandonableRequestisAbandoned in interface AbandonableRequestpublic AbandonableRequest addAbandonListener(AbandonListener listener)
AbandonableRequestaddAbandonListener in interface AbandonableRequestlistener - to be notified if this request gets abandoned.Copyright © 2021. All rights reserved.