|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.ietf.ldap.LDAPSearchQueue
A mechanism for queuing asynchronous search results and references received from a server.
| Method Summary | |
int[] |
getMessageIDs()
Returns the message IDs for all outstanding requests. |
LDAPMessage |
getResponse()
Blocks until a response is available, or until all operations associated with the object have completed or been canceled, and returns the response. |
LDAPMessage |
getResponse(int msgid)
Blocks until a response is available for a particular message id, or until all operations associated with the object have completed or been canceled, and returns the response. |
boolean |
isComplete(int msgid)
Reports true if all results have been received for a particular message id. |
boolean |
isResponseReceived()
Reports whether a response has been received from the server and not yet retrieved with getResponse. |
boolean |
isResponseReceived(int msgid)
Reports whether a response has been received from the server and not yet retrieved with getResponse. |
void |
merge(LDAPMessageQueue queue2)
Merges two response queues by moving the contents from another queue to this one. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int[] getMessageIDs()
getMessageIDs in interface LDAPMessageQueuepublic boolean isResponseReceived()
isResponseReceived in interface LDAPMessageQueuepublic boolean isResponseReceived(int msgid)
isResponseReceived in interface LDAPMessageQueuepublic void merge(LDAPMessageQueue queue2)
merge in interface LDAPMessageQueuepublic boolean isComplete(int msgid)
public LDAPMessage getResponse()
throws LDAPException
getResponse in interface LDAPMessageQueueLDAPException
public LDAPMessage getResponse(int msgid)
throws LDAPException
getResponse in interface LDAPMessageQueueLDAPException
|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||