summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LoadBalancer/LoadBalancer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/LoadBalancer/LoadBalancer.h')
-rw-r--r--TAO/orbsvcs/LoadBalancer/LoadBalancer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/orbsvcs/LoadBalancer/LoadBalancer.h b/TAO/orbsvcs/LoadBalancer/LoadBalancer.h
index 49418b7fde3..d8e21ac1570 100644
--- a/TAO/orbsvcs/LoadBalancer/LoadBalancer.h
+++ b/TAO/orbsvcs/LoadBalancer/LoadBalancer.h
@@ -56,12 +56,21 @@ private:
const char *interface_repository_id_;
// The interface repository ID for the object we load balance.
+ // @@ Ossama: the current version just dumps the IOR to a file, we
+ // may want to integrate it with the naming service too.
const char *load_balancer_file_;
// The load balancing service IOR is stored in this file
int strategy_;
// Select the right strategy
+ // @@ Ossama: the strategies should be created by a factory, the
+ // factory should be a Service Object that can be dynamically
+ // loaded.
+ // @@ Ossama: here is more food for thought, can we provide a
+ // generic load balancing service that can implement static,
+ // per-request and dynamic load balancing? If not, can we share the
+ // current strategies among them?
Round_Robin_Strategy round_robin_;
Minimum_Dispersion_Strategy minimum_dispersion_;