diff options
Diffstat (limited to 'project2/ice/iceDaemon.cpp')
-rw-r--r-- | project2/ice/iceDaemon.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/project2/ice/iceDaemon.cpp b/project2/ice/iceDaemon.cpp index 860cd86..14e7c90 100644 --- a/project2/ice/iceDaemon.cpp +++ b/project2/ice/iceDaemon.cpp @@ -67,7 +67,7 @@ IceDaemon::shutdown() const } void -IceDaemon::run() const +IceDaemon::setup() const { Logger()->messagebf(LOG_DEBUG, " %s creating adapter %s [%s]...", __PRETTY_FUNCTION__, adapterName, adapterEndpoint); Ice::ObjectAdapterPtr adapter = ic->createObjectAdapterWithEndpoints(adapterName, adapterEndpoint); @@ -79,7 +79,12 @@ IceDaemon::run() const Logger()->messagebf(LOG_DEBUG, " %s starting...", __PRETTY_FUNCTION__); adapter->activate(); +} + +void +IceDaemon::run() const +{ Logger()->messagebf(LOG_INFO, " %s running...", __PRETTY_FUNCTION__); ic->waitForShutdown(); |