diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancingI.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancingI.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancingI.h b/TAO/orbsvcs/orbsvcs/LoadBalancingI.h index 0dcecf939e6..edf69749b89 100644 --- a/TAO/orbsvcs/orbsvcs/LoadBalancingI.h +++ b/TAO/orbsvcs/orbsvcs/LoadBalancingI.h @@ -58,8 +58,7 @@ public: ACE_THROW_SPEC ((CORBA::SystemException, LoadBalancing::InterfaceNotFound)); - /// Register a load monitor with the load balancer - /// ReplicationManager. + /// Register a load monitor with the load balancer. virtual void register_load_monitor ( LoadBalancing::LoadMonitor_ptr load_monitor, const LoadBalancing::Location & the_location, @@ -74,6 +73,14 @@ public: ACE_THROW_SPEC ((CORBA::SystemException, LoadBalancing::LocationNotFound)); + /// Remove a load monitor at the given location from the load + /// balancer. + virtual void remove_load_monitor ( + const LoadBalancing::Location & the_location, + CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) + ACE_THROW_SPEC ((CORBA::SystemException, + LoadBalancing::LocationNotFound)); + /** * @name LoadBalancing::PropertyManager methods */ @@ -319,6 +326,9 @@ private: private: + /// Pseudo-reference to the ORB. + CORBA::ORB_var orb_; + /// The POA that dispatches requests to the ReplicaLocator. PortableServer::POA_var poa_; |