summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/LoadBalancer
diff options
context:
space:
mode:
authormsmit <msmit@remedy.nl>2011-05-30 10:00:58 +0000
committermsmit <msmit@remedy.nl>2011-05-30 10:00:58 +0000
commit0e2f742d33ed6a1fac68f38d05e600b463c27883 (patch)
treec3d9a9e63f48885afffa5ee8f9fd059a4f9d7cd0 /TAO/orbsvcs/LoadBalancer
parentb4b815ad74e610583f9b13ad56b0281c8cc20137 (diff)
downloadATCD-0e2f742d33ed6a1fac68f38d05e600b463c27883.tar.gz
Mon May 30 10:00:33 UTC 2011 Marcel Smit <msmit@remedy.nl>
* orbsvcs/LoadBalancer/LoadMonitor.cpp: Fixed compiler error on Windows.
Diffstat (limited to 'TAO/orbsvcs/LoadBalancer')
-rw-r--r--TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp b/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp
index a18e50fbb59..7f6e6b8f473 100644
--- a/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp
+++ b/TAO/orbsvcs/LoadBalancer/LoadMonitor.cpp
@@ -317,6 +317,13 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
// ensure graceful shutdown of the LoadMonitor so that
// LoadMonitors registered with the LoadManager can be
// deregistered.
+ CosLoadBalancing::LoadManager_ptr tmp;
+
+ if (timer_id == -1)
+ tmp = load_manager.in (); // PULL monitoring
+ else
+ tmp = CosLoadBalancing::LoadManager::_nil (); // PUSH
+ // monitoring
TAO_LB_Monitor_Signal_Handler signal_handler (
orb.in (),
root_poa.in (),