LDAPMessageQueue Class Reference

This class is created for the asynchronous LDAP-operations. More...

#include <LDAPMessageQueue.h>

List of all members.

Public Member Functions

 LDAPMessageQueue (LDAPRequest *conn)
 This creates a new LDAPMessageQueue.
 ~LDAPMessageQueue ()
 Destructor.
LDAPMsggetNext ()
 This method reads exactly one Message from the results of a Request.
LDAPRequestchaseReferral (LDAPMsg *ref)
 For internat use only.
LDAPRequestStackgetRequestStack ()
 For internal use only.

Detailed Description

This class is created for the asynchronous LDAP-operations.

And can be used by the client to retrieve the results of an operation.


Constructor & Destructor Documentation

LDAPMessageQueue::LDAPMessageQueue ( LDAPRequest conn  ) 

This creates a new LDAPMessageQueue.

For a LDAP-request

Parameters:
conn The Request for that is queue can be used to get the results.

References DEBUG, and LDAP_DEBUG_CONSTRUCT.

LDAPMessageQueue::~LDAPMessageQueue (  ) 

Destructor.

References DEBUG, and LDAP_DEBUG_DESTROY.


Member Function Documentation

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().

LDAPMsg * LDAPMessageQueue::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().


The documentation for this class was generated from the following files:
Generated on Mon Jul 5 13:45:11 2010 for ldapsdk by  doxygen 1.6.3