|
ldapsdk
0.0.1
|
The class stores the results of a synchronous SEARCH-Operation. More...
#include <LDAPSearchResults.h>
Public Member Functions | |
| LDAPSearchResults () | |
| Default-Constructor. More... | |
| LDAPResult * | readMessageQueue (LDAPMessageQueue *msg) |
| For internal use only. More... | |
| LDAPEntry * | getNext () |
| The method is used by the client-application to read the result entries of the SEARCH-Operation. More... | |
The class stores the results of a synchronous SEARCH-Operation.
| LDAPSearchResults::LDAPSearchResults | ( | ) |
Default-Constructor.
References LDAPEntryList::begin(), and LDAPReferenceList::begin().
| LDAPEntry * LDAPSearchResults::getNext | ( | ) |
The method is used by the client-application to read the result entries of the SEARCH-Operation.
Every call of this method returns one entry. If all entries were read it return 0.
| LDAPReferralException | If a Search Reference was returned by the server |
References LDAPEntryList::end(), and LDAPReferenceList::end().
| LDAPResult * LDAPSearchResults::readMessageQueue | ( | LDAPMessageQueue * | msg | ) |
For internal use only.
This method reads Search result entries from a LDAPMessageQueue-object.
| msg | The message queue to read |
References LDAPEntryList::addEntry(), LDAPReferenceList::addReference(), LDAPEntryList::begin(), LDAPReferenceList::begin(), LDAPMsg::getMessageType(), LDAPMessageQueue::getNext(), LDAPMsg::SEARCH_ENTRY, and LDAPMsg::SEARCH_REFERENCE.
Referenced by LDAPConnection::search().
1.8.13