org.apache.directory.shared.ldap.message
Interface AbandonableRequest

All Superinterfaces:
Message, Request
All Known Subinterfaces:
AddRequest, CompareRequest, DeleteRequest, ModifyDnRequest, ModifyRequest, SearchRequest
All Known Implementing Classes:
AbstractAbandonableRequest, AddRequestImpl, CompareRequestImpl, DeleteRequestImpl, ModifyDnRequestImpl, ModifyRequestImpl, SearchRequestImpl

public interface AbandonableRequest
extends Request

A request which can be abandoned.

Version:
$Rev: 379008 $
Author:
Apache Directory Project

Method Summary
 void abandon()
          Abandons this request.
 void 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.shared.ldap.message.Request
hasResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Message
add, get, getControls, getMessageId, getType, put, remove
 

Method Detail

abandon

public void abandon()
Abandons this request.


isAbandoned

public boolean isAbandoned()
Checks to see if this request has been abandoned.

Returns:
true if the request has been abandoned.

addAbandonListener

public void addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.

Parameters:
listener - to be notified if this request gets abandoned.


Copyright © 2003-2006 . All Rights Reserved.