ldapsdk
0.0.1
|
#include <LDAPSearchRequest.h>
Public Member Functions | |
LDAPSearchRequest (const LDAPSearchRequest &req) | |
LDAPSearchRequest (const std::string &base, int scope, const std::string &filter, const StringList &attrs, bool attrsOnly, LDAPAsynConnection *connect, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
virtual | ~LDAPSearchRequest () |
virtual LDAPMessageQueue * | sendRequest () |
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to a LDAP-Server. More... | |
virtual LDAPRequest * | followReferral (LDAPMsg *ref) |
virtual bool | equals (const LDAPRequest *req) const |
Compare this request with another on. More... | |
![]() | |
LDAPRequest (const LDAPRequest &req) | |
LDAPRequest (LDAPAsynConnection *conn, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
virtual | ~LDAPRequest () |
const LDAPConstraints * | getConstraints () const |
const LDAPAsynConnection * | getConnection () const |
virtual LDAPMsg * | getNextMessage () const |
int | getType () const |
int | getMsgID () const |
int | getHopCount () const |
const LDAPRequest * | getParent () const |
bool | isReferral () const |
void | unbind () const |
bool | isCycle () const |
Additional Inherited Members | |
![]() | |
static const int | BIND =0 |
static const int | UNBIND =2 |
static const int | SEARCH =3 |
static const int | MODIFY =7 |
static const int | ADD =8 |
static const int | DELETE =10 |
static const int | COMPARE =14 |
![]() | |
LDAPRequest () | |
![]() | |
bool | m_isReferral |
int | m_requestType |
LDAPConstraints * | m_cons |
LDAPAsynConnection * | m_connection |
const LDAPRequest * | m_parent |
int | m_hopCount |
int | m_msgID |
LDAPSearchRequest::LDAPSearchRequest | ( | const LDAPSearchRequest & | req | ) |
References DEBUG, LDAP_DEBUG_CONSTRUCT, and LDAPSearchRequest().
Referenced by LDAPSearchRequest().
LDAPSearchRequest::LDAPSearchRequest | ( | const std::string & | base, |
int | scope, | ||
const std::string & | filter, | ||
const StringList & | attrs, | ||
bool | attrsOnly, | ||
LDAPAsynConnection * | connect, | ||
const LDAPConstraints * | cons, | ||
bool | isReferral = false , |
||
const LDAPRequest * | parent = 0 |
||
) |
|
virtual |
References DEBUG, and LDAP_DEBUG_DESTROY.
|
virtual |
Compare this request with another on.
And returns true if they have the same parameters.
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::equals(), and LDAP_DEBUG_TRACE.
|
virtual |
|
virtual |
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to a LDAP-Server.
Implements LDAPRequest.
References DEBUG, LDAPControlSet::freeLDAPControlArray(), LDAPConstraints::getAliasDeref(), LDAPConstraints::getClCtrlsArray(), LDAPAsynConnection::getSessionHandle(), LDAPConstraints::getSizeLimit(), LDAPConstraints::getSrvCtrlsArray(), LDAPConstraints::getTimeoutStruct(), LDAPRequest::isReferral(), LDAP_DEBUG_TRACE, LDAPRequest::m_connection, LDAPRequest::m_cons, LDAPRequest::m_msgID, and StringList::toCharArray().
Referenced by LDAPAsynConnection::search().