Go to the documentation of this file.
8 #ifndef LDAP_MESSAGE_QUEUE_H
9 #define LDAP_MESSAGE_QUEUE_H
71 #endif //ifndef LDAP_MESSAGE_QUEUE_H
This class is only thrown as an Exception and used to signalize error conditions during LDAP-operatio...
Definition: LDAPException.h:23
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
void unbind() const
Definition: LDAPRequest.cpp:142
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
std::stack< LDAPRequest * > LDAPRequestStack
Definition: LDAPMessageQueue.h:19
bool isCycle() const
Definition: LDAPRequest.cpp:126
This class is used to analyze and store LDAP-Urls as returned by a LDAP-Server as Referrals and Searc...
Definition: LDAPUrl.h:22
static const int SEARCH_ENTRY
Definition: LDAPMessage.h:27
static const int SEARCH_REFERENCE
Definition: LDAPMessage.h:29
int getMessageType()
Definition: LDAPMessage.cpp:55
int getHopCount() const
Definition: LDAPRequest.cpp:101
bool getReferralChase() const
Definition: LDAPConstraints.cpp:169
bool isReferral() const
Definition: LDAPRequest.cpp:111
virtual LDAPMsg * getNextMessage() const
Definition: LDAPRequest.cpp:51
virtual LDAPRequest * followReferral(LDAPMsg *ref)
Definition: LDAPRequest.cpp:74
#define DEBUG(level, arg)
Definition: debug.h:30
This class represents some options that can be set for a LDAPConnection operation.
Definition: LDAPConstraints.h:27
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
static const int SEARCH_DONE
Definition: LDAPMessage.h:28
LDAPRequest * chaseReferral(LDAPMsg *ref)
For internat use only.
Definition: LDAPMessageQueue.cpp:142
virtual LDAPMessageQueue * sendRequest()=0
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to...
This class is for representing LDAP-Result-Messages.
Definition: LDAPResult.h:30
This class is created for the asynchronous LDAP-operations.
Definition: LDAPMessageQueue.h:27
static const int REFERRAL
Definition: LDAPResult.h:43
static const int SUCCESS
Definition: LDAPResult.h:33
std::list< LDAPRequest * > LDAPRequestList
Definition: LDAPMessageQueue.h:21
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
LDAPMessageQueue(LDAPRequest *conn)
This creates a new LDAPMessageQueue.
Definition: LDAPMessageQueue.cpp:24
LDAPRequestStack * getRequestStack()
For internal use only.
Definition: LDAPMessageQueue.cpp:167
Definition: LDAPSearchRequest.h:17
const LDAPConstraints * getConstraints() const
Definition: LDAPRequest.cpp:81
int getHopLimit() const
Definition: LDAPConstraints.cpp:174
int getResultCode() const
Definition: LDAPResult.cpp:66
For internal use only.
Definition: LDAPRequest.h:25
~LDAPMessageQueue()
Destructor.
Definition: LDAPMessageQueue.cpp:30
LDAPMsg * getNext()
This method reads exactly one Message from the results of a Request.
Definition: LDAPMessageQueue.cpp:40