1/* $NetBSD: LDAPSearchReference.h,v 1.1.1.2 2010/03/08 02:14:14 lukem Exp $ */ 2 3// OpenLDAP: pkg/ldap/contrib/ldapc++/src/LDAPSearchReference.h,v 1.4.10.1 2008/04/14 23:09:26 quanah Exp 4/* 5 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 6 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 7 */ 8 9 10#ifndef LDAP_SEARCH_REFERENCE_H 11#define LDAP_SEARCH_REFERENCE_H 12 13#include <LDAPMessage.h> 14#include <LDAPUrlList.h> 15 16class LDAPRequest; 17class LDAPUrl; 18 19/** 20 * This class is used to represent Continuation References that were 21 * returned during a SEARCH-Operation. 22 */ 23class LDAPSearchReference : public LDAPMsg{ 24 25 public : 26 /** 27 * Constructor that create an object from the C-API structures 28 */ 29 LDAPSearchReference(const LDAPRequest* req, LDAPMessage* msg); 30 31 /** 32 * The Destructor 33 */ 34 ~LDAPSearchReference(); 35 36 /** 37 * @returns The destination URLs that were send with this message 38 */ 39 const LDAPUrlList& getUrls() const; 40 41 private : 42 LDAPUrlList m_urlList; 43 LDAPSearchReference(); 44}; 45 46 47 48#endif //LDAP_SEARCH_REFERENCE_H 49