|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
The base abandonable request message class. All such requests have a reponse type.
Constructor Summary | |
protected |
AbstractAbandonableRequest(int id,
MessageTypeEnum type)
Subclasses must provide these parameters via a super constructor call. |
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 class org.apache.directory.shared.ldap.message.AbstractRequest |
hasResponse |
Methods inherited from class org.apache.directory.shared.ldap.message.AbstractMessage |
add, equals, get, getControls, getMessageId, getType, put, remove |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Constructor Detail |
protected AbstractAbandonableRequest(int id, MessageTypeEnum type)
id
- the sequential message identifiertype
- the request type enumMethod Detail |
public void abandon()
AbandonableRequest
abandon
in interface AbandonableRequest
public boolean isAbandoned()
AbandonableRequest
isAbandoned
in interface AbandonableRequest
public void addAbandonListener(AbandonListener listener)
AbandonableRequest
addAbandonListener
in interface AbandonableRequest
listener
- to be notified if this request gets abandoned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |