]> git.sur5r.net Git - openldap/blob - contrib/ldapc++/src/LDAPSearchReference.h
Merge remote-tracking branch 'origin/mdb.RE/0.9'
[openldap] / contrib / ldapc++ / src / LDAPSearchReference.h
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2014 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6
7
8 #ifndef LDAP_SEARCH_REFERENCE_H
9 #define LDAP_SEARCH_REFERENCE_H 
10
11 #include <LDAPMessage.h>
12 #include <LDAPUrlList.h>
13
14 class LDAPRequest;
15 class LDAPUrl;
16
17 /**
18  * This class is used to represent Continuation References that were
19  * returned during a SEARCH-Operation.
20  */
21 class LDAPSearchReference : public LDAPMsg{
22
23     public :
24         /**
25          * Constructor that create an object from the C-API structures
26          */
27         LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
28
29         /**
30          * The Destructor
31          */
32         ~LDAPSearchReference();
33
34         /**
35          * @returns The destination URLs that were send with this message
36          */
37         const LDAPUrlList& getUrls() const;
38
39     private :
40         LDAPUrlList m_urlList;
41         LDAPSearchReference();
42 };
43
44
45
46 #endif //LDAP_SEARCH_REFERENCE_H