summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-07-20 04:07:08 +0000
committerMichi Henning <michi@zeroc.com>2005-07-20 04:07:08 +0000
commit544741283baaed48f8ef64737ebf6284dd5781c8 (patch)
treeee0c377812095448dbf02982be218e69d7a087a3 /cpp/src/Ice/Instance.cpp
parentDid a make depend. (diff)
downloadice-544741283baaed48f8ef64737ebf6284dd5781c8.tar.bz2
ice-544741283baaed48f8ef64737ebf6284dd5781c8.tar.xz
ice-544741283baaed48f8ef64737ebf6284dd5781c8.zip
Added ice_communicator() and ice_toString() to proxies.
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 73c99c93176..dd31dc1daf7 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -68,6 +68,12 @@ extern bool ICE_UTIL_API nullHandleAbort;
void IceInternal::incRef(Instance* p) { p->__incRef(); }
void IceInternal::decRef(Instance* p) { p->__decRef(); }
+CommunicatorPtr
+IceInternal::Instance::communicator() const
+{
+ return _communicator;
+}
+
PropertiesPtr
IceInternal::Instance::properties() const
{
@@ -391,6 +397,7 @@ IceInternal::Instance::getDefaultContext() const
IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const PropertiesPtr& properties) :
+ _communicator(communicator.get()),
_destroyed(false),
_properties(properties),
_messageSizeMax(0),