diff options
author | Michi Henning <michi@zeroc.com> | 2003-06-26 05:12:04 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-06-26 05:12:04 +0000 |
commit | 59248eaddcbe2db56b655176f30278c5b6938b8e (patch) | |
tree | c005216681efaf7bb13133c22e28ee3a2eaf7605 /cpp/demo/IceBox/hello/HelloI.cpp | |
parent | got rid of unnecessary _communicator member. (diff) | |
download | ice-59248eaddcbe2db56b655176f30278c5b6938b8e.tar.bz2 ice-59248eaddcbe2db56b655176f30278c5b6938b8e.tar.xz ice-59248eaddcbe2db56b655176f30278c5b6938b8e.zip |
Got rid of various unnecessary _communicator members.
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloI.cpp')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloI.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/demo/IceBox/hello/HelloI.cpp b/cpp/demo/IceBox/hello/HelloI.cpp index 7f9e1f1dac2..ac5499dd37c 100644 --- a/cpp/demo/IceBox/hello/HelloI.cpp +++ b/cpp/demo/IceBox/hello/HelloI.cpp @@ -17,11 +17,6 @@ using namespace std; -HelloI::HelloI(const Ice::CommunicatorPtr& communicator) : - _communicator(communicator) -{ -} - void HelloI::sayHello(const Ice::Current&) { @@ -29,8 +24,8 @@ HelloI::sayHello(const Ice::Current&) } void -HelloI::shutdown(const Ice::Current&) +HelloI::shutdown(const Ice::Current& c) { cout << "Shutting down..." << endl; - _communicator->shutdown(); + c.adapter->getCommunicator()->shutdown(); } |