diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 8008dd09ccf88d4edef237a184a698cac42f2952 (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h | |
parent | 13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff) | |
download | ATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h deleted file mode 100644 index e376937f0a5..00000000000 --- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_MemberLocator.h +++ /dev/null @@ -1,92 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file LB_MemberLocator.h - * - * $Id$ - * - * @author Ossama Othman <ossama@uci.edu> - */ -//============================================================================= - - -#ifndef TAO_LB_MEMBER_LOCATOR_H -#define TAO_LB_MEMBER_LOCATOR_H - -#include /**/ "ace/pre.h" - -#include "ace/config-all.h" - -# if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -# endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/PortableServer/ServantLocatorC.h" -#include "tao/LocalObject.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -// Forward declarations. -class TAO_LB_LoadManager; - -/** - * @class TAO_LB_MemberLocator - * - * @brief ServantLocator implementation for the Load Balancer. - * - * This is a Servant Locator implementation that forwards requests to - * a member returned by the Load Balancer. - */ -class TAO_LB_MemberLocator - : public virtual PortableServer::ServantLocator, - public virtual TAO_Local_RefCounted_Object -{ -public: - - /// Constructor - TAO_LB_MemberLocator (TAO_LB_LoadManager * load_balancer); - - /** - * @name The PortableServer::ServantLocator methods. - * - * Methods required by the PortableServer::ServantLocator - * interface. - */ - //@{ - - /// Clients requests are forwarded via the - /// PortableServer::ForwardRequest exception thrown in this method. - virtual PortableServer::Servant preinvoke ( - const PortableServer::ObjectId & oid, - PortableServer::POA_ptr adapter, - const char * operation, - PortableServer::ServantLocator::Cookie & the_cookie - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableServer::ForwardRequest)); - - /// This method is no-op in this ServantLocator implementation. - virtual void postinvoke ( - const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - const char * operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - //@} - -private: - - /// The load balancer/manager implementation. - TAO_LB_LoadManager * load_manager_; - -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* TAO_LB_MEMBER_LOCATOR_H */ |