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. | |
virtual LDAPRequest * | followReferral (LDAPMsg *urls) |
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 |
||
) |
LDAPCompareRequest::~LDAPCompareRequest | ( | ) | [virtual] |
References DEBUG, and LDAP_DEBUG_DESTROY.
LDAPRequest * LDAPCompareRequest::followReferral | ( | LDAPMsg * | urls | ) | [virtual] |
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::getConnection(), LDAP_DEBUG_TRACE, LDAPCompareRequest(), LDAPRequest::m_cons, and LDAPAsynConnection::referralConnect().
LDAPMessageQueue * LDAPCompareRequest::sendRequest | ( | ) | [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 LDAPConnection::compare().