summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-03 14:06:11 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-03 14:06:11 +0000
commit4d86d6b09be5e53fba48daf184723cfa7035bb8f (patch)
tree918dc0a7e40e022ddb98e26180c172ec546bedb3 /cpp/src
parentfixes (diff)
downloadice-4d86d6b09be5e53fba48daf184723cfa7035bb8f.tar.bz2
ice-4d86d6b09be5e53fba48daf184723cfa7035bb8f.tar.xz
ice-4d86d6b09be5e53fba48daf184723cfa7035bb8f.zip
fixes
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ObjectAdapterI.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp
index 772c124962c..139a37e61d4 100644
--- a/cpp/src/Ice/ObjectAdapterI.cpp
+++ b/cpp/src/Ice/ObjectAdapterI.cpp
@@ -16,6 +16,7 @@
#include <Ice/Endpoint.h>
#include <Ice/Collector.h>
#include <Ice/LocalException.h>
+#include <Ice/Properties.h>
#include <Ice/Functional.h>
#include <sstream>
@@ -320,6 +321,12 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const string& n
{
throw EndpointParseException(__FILE__, __LINE__);
}
+
+ string value = _instance->properties()->getProperty("Ice.PrintAdapterReady");
+ if (atoi(value.c_str()) >= 1)
+ {
+ cout << _name << " ready" << endl;
+ }
}
Ice::ObjectAdapterI::~ObjectAdapterI()