Interface AbandonableRequest
-
- All Known Subinterfaces:
AbandonableResultResponseRequest
,AddRequest
,BindRequest
,CompareRequest
,DeleteRequest
,ModifyDnRequest
,ModifyRequest
,SearchRequest
- All Known Implementing Classes:
AbandonableRequestDecorator
,AbandonableResultResponseRequestDecorator
,AbstractAbandonableRequest
,AbstractResultResponseRequestDsml
,AddRequestDecorator
,AddRequestDsml
,AddRequestImpl
,BindRequestDecorator
,BindRequestDsml
,BindRequestImpl
,CancelRequestDecorator
,CertGenerationRequestDecorator
,CompareRequestDecorator
,CompareRequestDsml
,CompareRequestImpl
,DeleteRequestDecorator
,DeleteRequestImpl
,DelRequestDsml
,EndTransactionRequestDecorator
,ExtendedRequestDecorator
,ExtendedRequestDsml
,GracefulShutdownRequestDecorator
,ModifyDnRequestDecorator
,ModifyDNRequestDsml
,ModifyDnRequestImpl
,ModifyRequestDecorator
,ModifyRequestDsml
,ModifyRequestImpl
,PasswordModifyRequestDecorator
,SearchRequestDecorator
,SearchRequestDsml
,SearchRequestImpl
,SingleReplyRequestDecorator
,StartTlsRequestDecorator
,StartTransactionRequestDecorator
,StoredProcedureRequestDecorator
,WhoAmIRequestDecorator
public interface AbandonableRequest extends Request
A request which can be abandoned.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
abandon()
Abandons this request.AbandonableRequest
addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.boolean
isAbandoned()
Checks to see if this request has been abandoned.-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Request
hasResponse
-
-
-
-
Method Detail
-
abandon
void abandon()
Abandons this request.
-
isAbandoned
boolean isAbandoned()
Checks to see if this request has been abandoned.- Returns:
- true if the request has been abandoned.
-
addAbandonListener
AbandonableRequest addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.- Parameters:
listener
- to be notified if this request gets abandoned.- Returns:
- An AbandonableRequest reference
-
-