|
All LDAP Classes Internal LDAP Classes |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ietf.ldap.LDAPSearchQueue
A mechanism for queuing asynchronous search results and references received from a server.
| Field Summary | |
private LDAPSearchQueue |
queue
|
| Constructor Summary | |
(package private) |
LDAPSearchQueue(LDAPSearchQueue queue)
Constructs a response queue from a com.novell.ldap.LDAPSearchQueue |
| 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. |
(package private) LDAPSearchQueue |
getWrappedObject()
Returns a com.novell.ldap.LDAPSearchQueue object |
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 |
| Field Detail |
private LDAPSearchQueue queue
| Constructor Detail |
LDAPSearchQueue(LDAPSearchQueue queue)
| Method Detail |
LDAPSearchQueue getWrappedObject()
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
|
All LDAP Classes Internal LDAP Classes |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||