ldapsdk
0.0.1
|
#include <LDAPCompareRequest.h>
Public Member Functions | |
LDAPCompareRequest (const LDAPCompareRequest &req) | |
LDAPCompareRequest (const std::string &dn, const LDAPAttribute &attr, LDAPAsynConnection *connect, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
virtual | ~LDAPCompareRequest () |
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 *urls) |
![]() | |
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 |
virtual bool | equals (const LDAPRequest *req) const |
Compare this request with another on. More... | |
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 |
LDAPCompareRequest::LDAPCompareRequest | ( | const LDAPCompareRequest & | req | ) |
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
Referenced by followReferral().
LDAPCompareRequest::LDAPCompareRequest | ( | const std::string & | dn, |
const LDAPAttribute & | attr, | ||
LDAPAsynConnection * | connect, | ||
const LDAPConstraints * | cons, | ||
bool | isReferral = false , |
||
const LDAPRequest * | parent = 0 |
||
) |
|
virtual |
References DEBUG, and LDAP_DEBUG_DESTROY.
|
virtual |
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::getConnection(), LDAP_DEBUG_TRACE, LDAPCompareRequest(), LDAPRequest::m_cons, and LDAPAsynConnection::referralConnect().
|
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(), LDAPAttribute::getBerValues(), LDAPConstraints::getClCtrlsArray(), LDAPAttribute::getName(), LDAPAsynConnection::getSessionHandle(), LDAPConstraints::getSrvCtrlsArray(), LDAP_DEBUG_TRACE, LDAPRequest::m_connection, LDAPRequest::m_cons, and LDAPRequest::m_msgID.
Referenced by LDAPAsynConnection::compare().