LDAPSearchReference.h 954 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 */


#ifndef LDAP_SEARCH_REFERENCE_H
#define LDAP_SEARCH_REFERENCE_H 

#include "LDAPMessage.h"
#include "LDAPUrlList.h"

class LDAPRequest;
class LDAPUrl;

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

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

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

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

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



#endif //LDAP_SEARCH_REFERENCE_H