ldapsdk 0.0.1
|
#include <LDAPModDNRequest.h>
Public Member Functions | |
LDAPModDNRequest (const LDAPModDNRequest &req) | |
LDAPModDNRequest (const std::string &dn, const std::string &newRDN, bool deleteOld, const std::string &newParentDN, LDAPAsynConnection *connect, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
virtual | ~LDAPModDNRequest () |
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) |
LDAPModDNRequest::LDAPModDNRequest | ( | const LDAPModDNRequest & | req | ) |
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
Referenced by followReferral().
LDAPModDNRequest::LDAPModDNRequest | ( | const std::string & | dn, |
const std::string & | newRDN, | ||
bool | deleteOld, | ||
const std::string & | newParentDN, | ||
LDAPAsynConnection * | connect, | ||
const LDAPConstraints * | cons, | ||
bool | isReferral = false , |
||
const LDAPRequest * | parent = 0 |
||
) |
LDAPModDNRequest::~LDAPModDNRequest | ( | ) | [virtual] |
References DEBUG, and LDAP_DEBUG_DESTROY.
LDAPRequest * LDAPModDNRequest::followReferral | ( | LDAPMsg * | urls | ) | [virtual] |
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::getConnection(), LDAP_DEBUG_TRACE, LDAPModDNRequest(), LDAPRequest::m_cons, and LDAPAsynConnection::referralConnect().
LDAPMessageQueue * LDAPModDNRequest::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(), LDAPConstraints::getClCtrlsArray(), LDAPAsynConnection::getSessionHandle(), LDAPConstraints::getSrvCtrlsArray(), LDAP_DEBUG_TRACE, LDAPRequest::m_connection, LDAPRequest::m_cons, and LDAPRequest::m_msgID.
Referenced by LDAPConnection::rename().