2000-09-01 14:46:32 -04:00
|
|
|
/*
|
|
|
|
|
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef LDAP_SEARCH_REFERENCE_H
|
|
|
|
|
#define LDAP_SEARCH_REFERENCE_H
|
|
|
|
|
|
2001-03-15 06:07:58 -05:00
|
|
|
#include <LDAPMessage.h>
|
|
|
|
|
#include <LDAPUrlList.h>
|
2000-09-01 14:46:32 -04:00
|
|
|
|
|
|
|
|
class LDAPRequest;
|
|
|
|
|
class LDAPUrl;
|
|
|
|
|
|
2001-02-19 06:34:28 -05:00
|
|
|
/**
|
|
|
|
|
* This class is used to represent Continuation References that were
|
|
|
|
|
* returned during a SEARCH-Operation.
|
|
|
|
|
*/
|
2000-09-01 14:46:32 -04:00
|
|
|
class LDAPSearchReference : public LDAPMsg{
|
|
|
|
|
|
2000-10-03 14:25:34 -04:00
|
|
|
public :
|
2001-02-19 06:34:28 -05:00
|
|
|
/**
|
|
|
|
|
* Constructor that create an object from the C-API structures
|
|
|
|
|
*/
|
2000-10-03 14:25:34 -04:00
|
|
|
LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg);
|
2001-02-19 06:34:28 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The Destructor
|
|
|
|
|
*/
|
2000-10-03 14:25:34 -04:00
|
|
|
~LDAPSearchReference();
|
2001-02-19 06:34:28 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @returns The destination URLs that were send with this message
|
|
|
|
|
*/
|
2000-10-03 14:25:34 -04:00
|
|
|
const LDAPUrlList& getUrls() const;
|
|
|
|
|
|
2000-09-01 14:46:32 -04:00
|
|
|
private :
|
|
|
|
|
LDAPUrlList m_urlList;
|
|
|
|
|
LDAPSearchReference();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif //LDAP_SEARCH_REFERENCE_H
|