diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp index 3102244a876..4cba2d3c82b 100644 --- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp +++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LoadBalancingI.cpp @@ -36,7 +36,7 @@ TAO_LoadBalancing_ReplicationManager_i::register_load_notifier ( CORBA::Environment &ACE_TRY_ENV) ACE_THROW_SPEC ((CORBA::SystemException)) { - ACE_THROW (CORBA::NO_IMPLEMENT()); + ACE_THROW (CORBA::NO_IMPLEMENT ()); } LoadBalancing::LoadNotifier_ptr @@ -360,6 +360,17 @@ TAO_LoadBalancing_ReplicationManager_i::delete_object ( ACE_TRY_ENV); } +CORBA::Object_ptr +TAO_LoadBalancing_ReplicationManager_i::replica ( + const PortableServer::ObjectId &oid, + CORBA::Environment &ACE_TRY_ENV) +{ + // Convert the ObjectId to the hash map key. + CORBA::String_var stroid = PortableServer::ObjectId_to_string (oid); + + int tmp = ACE_OS::atoi (stroid.in ()); +} + int TAO_LoadBalancing_ReplicationManager_i::init ( PortableServer::POA_ptr root_poa) |