protected static class JLdapConnection.SearchResultIterator extends Object
Modifier and Type | Field and Description |
---|---|
private com.novell.ldap.LDAPMessage |
message
Last response message received from the queue.
|
private com.novell.ldap.LDAPSearchQueue |
queue
Queue to iterate over.
|
private com.novell.ldap.LDAPResponse |
response
Response available after all messages have been received.
|
Constructor and Description |
---|
SearchResultIterator(com.novell.ldap.LDAPSearchQueue q)
Create a new ldap result iterator.
|
Modifier and Type | Method and Description |
---|---|
com.novell.ldap.LDAPSearchQueue |
getLDAPSearchQueue()
Returns the search queue used by this iterator.
|
com.novell.ldap.LDAPResponse |
getResponse()
Returns the search response.
|
boolean |
hasNext()
Returns whether the queue has another message to read.
|
com.novell.ldap.LDAPMessage |
next()
Returns the next message in the queue.
|
private final com.novell.ldap.LDAPSearchQueue queue
private com.novell.ldap.LDAPMessage message
private com.novell.ldap.LDAPResponse response
public SearchResultIterator(com.novell.ldap.LDAPSearchQueue q)
q
- ldap search queuepublic com.novell.ldap.LDAPSearchQueue getLDAPSearchQueue()
public boolean hasNext() throws com.novell.ldap.LDAPException
com.novell.ldap.LDAPException
- if an error occurs reading the responsepublic com.novell.ldap.LDAPMessage next()
public com.novell.ldap.LDAPResponse getResponse()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.