|
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.LDAPResponseQueue
Encapsulates a low-level mechanism for processing asynchronous messages received from a server.
| Field Summary | |
private LDAPResponseQueue |
queue
|
| Constructor Summary | |
(package private) |
LDAPResponseQueue(LDAPResponseQueue queue)
Constructs a response queue from com.novell.ldap.LDAPResponseQueue |
| Method Summary | |
int[] |
getMessageIDs()
Returns the message IDs for all outstanding requests. |
LDAPMessage |
getResponse()
Returns the response. |
LDAPMessage |
getResponse(int msgid)
Returns the response for a particular message id. |
(package private) LDAPResponseQueue |
getWrappedObject()
Returns the com.novell.ldap.LDAPResponseQueue object |
boolean |
isResponseReceived()
Reports whether a response has been received from the server. |
boolean |
isResponseReceived(int msgid)
Reports whether a response has been received from the server for a particular message id. |
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 LDAPResponseQueue queue
| Constructor Detail |
LDAPResponseQueue(LDAPResponseQueue queue)
| Method Detail |
LDAPResponseQueue 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 LDAPMessageQueue
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 | |||||||||