Back to index

openldap  2.4.31
LDAPDeleteRequest.h
Go to the documentation of this file.
00001 // $OpenLDAP$
00002 /*
00003  * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
00004  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
00005  */
00006 
00007 #ifndef LDAP_DELETE_REQUEST_H
00008 #define LDAP_DELETE_REQUEST_H
00009 
00010 #include <LDAPRequest.h>
00011 class LDAPMessageQueue;
00012 
00013 class LDAPDeleteRequest : public LDAPRequest{
00014     public :
00015         LDAPDeleteRequest(const LDAPDeleteRequest& req);
00016         LDAPDeleteRequest(const std::string& dn, LDAPAsynConnection *connect,
00017                 const LDAPConstraints *cons, bool isReferral=false, 
00018                 const LDAPRequest* parent=0);
00019         virtual ~LDAPDeleteRequest();
00020         virtual LDAPMessageQueue* sendRequest();
00021         virtual LDAPRequest* followReferral(LDAPMsg* refs); 
00022        
00023     private :
00024               std::string m_dn;
00025 };
00026 #endif //LDAP_DELETE_REQUEST_H