diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-09-11 20:33:06 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-09-11 20:33:06 +0000 |
commit | af019e080ac9319035abe899838bc6ff7bf7e435 (patch) | |
tree | 754643a46a0f0ef381b0a7596fc08a17dcda5cdf /cpp/demo/IceBox/hello/HelloServiceI.cpp | |
parent | Fix bug in changeTimeout (the newEndpoints were not passed to the (diff) | |
download | ice-af019e080ac9319035abe899838bc6ff7bf7e435.tar.bz2 ice-af019e080ac9319035abe899838bc6ff7bf7e435.tar.xz ice-af019e080ac9319035abe899838bc6ff7bf7e435.zip |
Object adapter creation method changes, IceBox changes.
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.cpp')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloServiceI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.cpp b/cpp/demo/IceBox/hello/HelloServiceI.cpp index 5f70e8bf3aa..ffcd7b95d27 100644 --- a/cpp/demo/IceBox/hello/HelloServiceI.cpp +++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp @@ -29,10 +29,9 @@ HelloServiceI::~HelloServiceI() void HelloServiceI::start(const string& name, const ::Ice::CommunicatorPtr& communicator, - const ::Ice::PropertiesPtr& properties, const ::Ice::StringSeq& args) { - _adapter = communicator->createObjectAdapter(name + "Adapter"); + _adapter = communicator->createObjectAdapter(name); ::Ice::ObjectPtr object = new HelloI(communicator); _adapter->add(object, ::Ice::stringToIdentity("hello")); _adapter->activate(); |