summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/NodeInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/NodeInfo.cpp')
-rw-r--r--cpp/src/IcePack/NodeInfo.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/src/IcePack/NodeInfo.cpp b/cpp/src/IcePack/NodeInfo.cpp
index 658a4013fd6..639bb335936 100644
--- a/cpp/src/IcePack/NodeInfo.cpp
+++ b/cpp/src/IcePack/NodeInfo.cpp
@@ -69,6 +69,20 @@ IcePack::NodeInfo::getAdapterRegistry() const
}
}
+ObjectRegistryPrx
+IcePack::NodeInfo::getObjectRegistry() const
+{
+ try
+ {
+ return ObjectRegistryPrx::checkedCast(
+ _communicator->stringToProxy("IcePack/ObjectRegistry@IcePack.Registry.Internal"));
+ }
+ catch(const Ice::LocalException& ex)
+ {
+ return 0;
+ }
+}
+
ServerRegistryPrx
IcePack::NodeInfo::getServerRegistry() const
{