ldapsdk  0.0.1
LDAPSearchReference.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 
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 
22 
23  public :
27  LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
28 
33 
37  const LDAPUrlList& getUrls() const;
38 
39  private :
40  LDAPUrlList m_urlList;
42 };
43 
44 
45 
46 #endif //LDAP_SEARCH_REFERENCE_H
LDAPException
This class is only thrown as an Exception and used to signalize error conditions during LDAP-operatio...
Definition: LDAPException.h:23
LDAPAsynConnection
This class represents an asynchronous connection to an LDAP-Server.
Definition: LDAPAsynConnection.h:45
LDAP_DEBUG_TRACE
#define LDAP_DEBUG_TRACE
Definition: debug.h:12
LDAPMsg
This class represents any type of LDAP- Message returned from the server.
Definition: LDAPMessage.h:23
LDAPUrl
This class is used to analyze and store LDAP-Urls as returned by a LDAP-Server as Referrals and Searc...
Definition: LDAPUrl.h:22
LDAPMsg::m_srvControls
LDAPControlSet m_srvControls
This attribute stores Server-Control that were returned with the message.
Definition: LDAPMessage.h:119
LDAPSearchReference::getUrls
const LDAPUrlList & getUrls() const
Definition: LDAPSearchReference.cpp:49
LDAPUrl.h
DEBUG
#define DEBUG(level, arg)
Definition: debug.h:30
LDAPMessage.h
LDAP_DEBUG_DESTROY
#define LDAP_DEBUG_DESTROY
Definition: debug.h:14
LDAPAsynConnection::getSessionHandle
LDAP * getSessionHandle() const
Definition: LDAPAsynConnection.cpp:292
LDAPSearchReference
This class is used to represent Continuation References that were returned during a SEARCH-Operation.
Definition: LDAPSearchReference.h:21
LDAPControlSet
This container class is used to store multiple LDAPCtrl-objects.
Definition: LDAPControlSet.h:19
LDAP_DEBUG_CONSTRUCT
#define LDAP_DEBUG_CONSTRUCT
Definition: debug.h:13
LDAPSearchReference::LDAPSearchReference
LDAPSearchReference(const LDAPRequest *req, LDAPMessage *msg)
Constructor that create an object from the C-API structures.
Definition: LDAPSearchReference.cpp:18
LDAPUrlList
This container class is used to store multiple LDAPUrl-objects.
Definition: LDAPUrlList.h:16
LDAPMsg::m_hasControls
bool m_hasControls
Definition: LDAPMessage.h:121
LDAPException.h
LDAPSearchReference::~LDAPSearchReference
~LDAPSearchReference()
The Destructor.
Definition: LDAPSearchReference.cpp:44
LDAPUrlList.h
LDAPRequest::getConnection
const LDAPAsynConnection * getConnection() const
Definition: LDAPRequest.cpp:86
LDAPSearchReference.h
LDAPRequest.h
LDAPRequest
For internal use only.
Definition: LDAPRequest.h:25
debug.h