ldapsdk  0.0.1
LDAPDeleteRequest.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_DELETE_REQUEST_H
8 #define LDAP_DELETE_REQUEST_H
9 
10 #include <LDAPRequest.h>
11 class LDAPMessageQueue;
12 
14  public :
16  LDAPDeleteRequest(const std::string& dn, LDAPAsynConnection *connect,
17  const LDAPConstraints *cons, bool isReferral=false,
18  const LDAPRequest* parent=0);
19  virtual ~LDAPDeleteRequest();
20  virtual LDAPMessageQueue* sendRequest();
21  virtual LDAPRequest* followReferral(LDAPMsg* refs);
22 
23  private :
24  std::string m_dn;
25 };
26 #endif //LDAP_DELETE_REQUEST_H