Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

LDAPModDNRequest.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
00003  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00004  */
00005 
00006 #ifndef LDAP_MOD_DN_REQUEST_H
00007 #define LDAP_MOD_DN_REQUEST_H
00008 
00009 #include <LDAPRequest.h>
00010 
00011 class LDAPModDNRequest : LDAPRequest {
00012 
00013     public:
00014         LDAPModDNRequest(const LDAPModDNRequest& req); 
00015         LDAPModDNRequest(const std::string& dn, const std::string& newRDN,
00016                 bool deleteOld, const std::string& newParentDN,
00017                 LDAPAsynConnection *connect, const LDAPConstraints *cons,
00018                 bool isReferral=false, const LDAPRequest* parent=0); 
00019         virtual ~LDAPModDNRequest(); 
00020         
00021         virtual LDAPMessageQueue* sendRequest(); 
00022         virtual LDAPRequest* followReferral(LDAPMsg*  urls);
00023     
00024     private:
00025         std::string m_dn;
00026         std::string m_newRDN;
00027         std::string m_newParentDN;
00028         bool m_deleteOld;
00029 };    
00030 
00031 #endif // LDAP_MOD_DN_REQUEST_H
00032 

Generated on Wed Jun 30 21:49:02 2004 for ldapsdk by doxygen 1.3.6