summaryrefslogtreecommitdiff
path: root/TAO/tao/ImR_Client
diff options
context:
space:
mode:
authordai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-04-25 06:33:24 +0000
committerdai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-04-25 06:33:24 +0000
commita141ce4fafb180b7c43fb54aa2712e21e84c1421 (patch)
tree45376633c5911f7f225057cffa8905f09cf6a19e /TAO/tao/ImR_Client
parent7823aa89f51dbc0c20dc07c9e4db1077da4f4825 (diff)
downloadATCD-a141ce4fafb180b7c43fb54aa2712e21e84c1421.tar.gz
Sat Apr 25 06:25:37 UTC 2009 Yan Dai <dai_y@ociweb.com>
Diffstat (limited to 'TAO/tao/ImR_Client')
-rw-r--r--TAO/tao/ImR_Client/ImR_Client.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/TAO/tao/ImR_Client/ImR_Client.cpp b/TAO/tao/ImR_Client/ImR_Client.cpp
index 084e493427e..0d1335792ff 100644
--- a/TAO/tao/ImR_Client/ImR_Client.cpp
+++ b/TAO/tao/ImR_Client/ImR_Client.cpp
@@ -122,7 +122,18 @@ namespace TAO
TAO::Portable_Server::Non_Servant_Upcall non_servant_upcall (*poa);
ACE_UNUSED_ARG (non_servant_upcall);
- imr_locator->server_is_running (poa->name().c_str (),
+ ACE_CString serverId = poa->orb_core ().server_id ();
+ ACE_CString name;
+ if (serverId.empty ())
+ {
+ name = poa->name();
+ }
+ else
+ {
+ name = serverId + ":" + poa->name();
+ }
+
+ imr_locator->server_is_running (name.c_str (),
partial_ior.c_str(),
svr.in());
}