ldapsdk  0.0.1
LDAPExtRequest.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2013 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_EXT_REQUEST_H
8 #define LDAP_EXT_REQUEST_H
9 
10 #include <LDAPRequest.h>
11 
13 
14  public:
15  LDAPExtRequest(const LDAPExtRequest& req);
16  LDAPExtRequest(const std::string& oid, const std::string& data,
17  LDAPAsynConnection *connect, const LDAPConstraints *cons,
18  bool isReferral=false, const LDAPRequest* parent=0);
19  virtual ~LDAPExtRequest();
20  virtual LDAPMessageQueue* sendRequest();
21  virtual LDAPRequest* followReferral(LDAPMsg* urls);
22 
23  private:
24  std::string m_oid;
25  std::string m_data;
26 };
27 
28 #endif // LDAP_EXT_REQUEST_H
This class is created for the asynchronous LDAP-operations.
Definition: LDAPMessageQueue.h:27
virtual LDAPRequest * followReferral(LDAPMsg *urls)
Definition: LDAPExtRequest.cpp:67
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
bool isReferral() const
Definition: LDAPRequest.cpp:111
For internal use only.
Definition: LDAPRequest.h:25
LDAPExtRequest(const LDAPExtRequest &req)
Definition: LDAPExtRequest.cpp:19
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
virtual ~LDAPExtRequest()
Definition: LDAPExtRequest.cpp:37
Definition: LDAPExtRequest.h:12
virtual LDAPMessageQueue * sendRequest()
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to...
Definition: LDAPExtRequest.cpp:41
This class represents some options that can be set for a LDAPConnection operation.
Definition: LDAPConstraints.h:27