#include <LDAPMessageQueue.h>
Public Member Functions | |
| LDAPMessageQueue (LDAPRequest *conn) | |
| This creates a new LDAPMessageQueue. | |
| ~LDAPMessageQueue () | |
| Destructor. | |
| LDAPMsg * | getNext () |
| This method reads exactly one Message from the results of a Request. | |
| LDAPRequest * | chaseReferral (LDAPMsg *ref) |
| For internat use only. | |
| LDAPRequestStack * | getRequestStack () |
| For internal use only. | |
And can be used by the client to retrieve the results of an operation.
| LDAPMessageQueue::LDAPMessageQueue | ( | LDAPRequest * | conn | ) |
This creates a new LDAPMessageQueue.
For a LDAP-request
| conn | The Request for that is queue can be used to get the results. |
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
| LDAPMessageQueue::~LDAPMessageQueue | ( | ) |
| LDAPMsg * LDAPMessageQueue::getNext | ( | ) |
This method reads exactly one Message from the results of a Request.
| LDAPException |
References chaseReferral(), DEBUG, LDAPRequest::getConstraints(), LDAPMsg::getMessageType(), LDAPRequest::getNextMessage(), LDAPConstraints::getReferralChase(), LDAPResult::getResultCode(), LDAPRequest::isReferral(), LDAP_DEBUG_TRACE, LDAPResult::REFERRAL, LDAPMsg::SEARCH_DONE, LDAPMsg::SEARCH_ENTRY, LDAPMsg::SEARCH_REFERENCE, LDAPResult::SUCCESS, and LDAPRequest::unbind().
Referenced by LDAPConnection::add(), LDAPSearchResults::readMessageQueue(), and LDAPConnection::saslInteractiveBind().
| LDAPRequest * LDAPMessageQueue::chaseReferral | ( | LDAPMsg * | ref | ) |
For internat use only.
The method is used to start the automatic referral chasing
References DEBUG, LDAPRequest::followReferral(), LDAPRequest::getConstraints(), LDAPRequest::getHopCount(), LDAPConstraints::getHopLimit(), LDAPRequest::isCycle(), LDAP_DEBUG_TRACE, and LDAPRequest::sendRequest().
Referenced by getNext().
| LDAPRequestStack * LDAPMessageQueue::getRequestStack | ( | ) |
For internal use only.
The referral chasing algorithm needs this method to see the currently active requests.
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPAsynConnection::abandon().
1.5.6