diff options
author | Michi Henning <michi@zeroc.com> | 2006-09-25 03:09:56 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-09-25 03:09:56 +0000 |
commit | 310a04a2f0f8c167fd54da7709560a060380bd00 (patch) | |
tree | 6b11e6029f160ec98078a434f5d549068f7763bb /cpp/src/Ice/ObjectAdapterI.cpp | |
parent | Node proxies are now stored in a separate non-replicated map. (diff) | |
download | ice-310a04a2f0f8c167fd54da7709560a060380bd00.tar.bz2 ice-310a04a2f0f8c167fd54da7709560a060380bd00.tar.xz ice-310a04a2f0f8c167fd54da7709560a060380bd00.zip |
Bug 1349.
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 4d0d9e53fab..df8e913f4ea 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -29,6 +29,7 @@ #include <Ice/Communicator.h> #include <Ice/Router.h> #include <Ice/DefaultsAndOverrides.h> +#include <Ice/TraceLevels.h> #ifdef _WIN32 # include <sys/timeb.h> @@ -748,6 +749,15 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const Communica { _incomingConnectionFactories.push_back(new IncomingConnectionFactory(instance, *p, this, _name)); } + if(endpoints.empty()) + { + TraceLevelsPtr tl = _instance->traceLevels(); + if(tl->network >= 2) + { + Trace out(_instance->initializationData().logger, tl->networkCat); + out << "created adapter `" << name << "' without endpoints"; + } + } // // Parse published endpoints. If set, these are used in proxies |