Back to index

openldap  2.4.31
LDAPCompareRequest.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_COMPARE_REQUEST_H
00008 #define LDAP_COMPARE_REQUEST_H
00009 
00010 #include <LDAPRequest.h>
00011 
00012 class LDAPMessageQueue;
00013 
00014 class LDAPCompareRequest : public LDAPRequest {
00015     public :
00016         LDAPCompareRequest(const LDAPCompareRequest& req);
00017         LDAPCompareRequest(const std::string& dn, const LDAPAttribute& attr, 
00018                 LDAPAsynConnection *connect, const LDAPConstraints *cons,
00019                 bool isReferral=false, const LDAPRequest* parent=0);
00020         virtual ~LDAPCompareRequest();
00021         virtual LDAPMessageQueue* sendRequest();
00022         virtual LDAPRequest* followReferral(LDAPMsg* urls);
00023     
00024     private :
00025         std::string m_dn;
00026         LDAPAttribute m_attr;
00027         
00028 };
00029 #endif //LDAP_COMPARE_REQUEST_H
00030 
00031