LDAPSearchReference.h 976 Bytes
Newer Older
1
// $OpenLDAP$
2
/*
Quanah Gibson-Mount's avatar
Quanah Gibson-Mount committed
3
 * Copyright 2000-2016 The OpenLDAP Foundation, All Rights Reserved.
4
5
6
7
8
9
10
 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 */


#ifndef LDAP_SEARCH_REFERENCE_H
#define LDAP_SEARCH_REFERENCE_H 

11
12
#include <LDAPMessage.h>
#include <LDAPUrlList.h>
13
14
15
16

class LDAPRequest;
class LDAPUrl;

Ralf Haferkamp's avatar
Ralf Haferkamp committed
17
18
19
20
/**
 * This class is used to represent Continuation References that were
 * returned during a SEARCH-Operation.
 */
21
22
class LDAPSearchReference : public LDAPMsg{

23
    public :
Ralf Haferkamp's avatar
Ralf Haferkamp committed
24
25
26
        /**
         * Constructor that create an object from the C-API structures
         */
27
        LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
Ralf Haferkamp's avatar
Ralf Haferkamp committed
28
29
30
31

        /**
         * The Destructor
         */
32
        ~LDAPSearchReference();
Ralf Haferkamp's avatar
Ralf Haferkamp committed
33
34
35
36

        /**
         * @returns The destination URLs that were send with this message
         */
37
38
        const LDAPUrlList& getUrls() const;

39
40
41
42
43
44
45
46
    private :
        LDAPUrlList m_urlList;
        LDAPSearchReference();
};



#endif //LDAP_SEARCH_REFERENCE_H