summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/HelloServiceI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.cpp')
-rw-r--r--cpp/demo/IceBox/hello/HelloServiceI.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.cpp b/cpp/demo/IceBox/hello/HelloServiceI.cpp
index a3b757b928f..5f70e8bf3aa 100644
--- a/cpp/demo/IceBox/hello/HelloServiceI.cpp
+++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp
@@ -27,10 +27,10 @@ HelloServiceI::~HelloServiceI()
}
void
-HelloServiceI::init(const string& name,
- const ::Ice::CommunicatorPtr& communicator,
- const ::Ice::PropertiesPtr& properties,
- const ::Ice::StringSeq& args)
+HelloServiceI::start(const string& name,
+ const ::Ice::CommunicatorPtr& communicator,
+ const ::Ice::PropertiesPtr& properties,
+ const ::Ice::StringSeq& args)
{
_adapter = communicator->createObjectAdapter(name + "Adapter");
::Ice::ObjectPtr object = new HelloI(communicator);
@@ -39,11 +39,6 @@ HelloServiceI::init(const string& name,
}
void
-HelloServiceI::start()
-{
-}
-
-void
HelloServiceI::stop()
{
_adapter->deactivate();