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/Ice/callback/CallbackI.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/Ice/callback/CallbackI.cpp')
-rw-r--r-- | cpp/demo/Ice/callback/CallbackI.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/demo/Ice/callback/CallbackI.cpp b/cpp/demo/Ice/callback/CallbackI.cpp index c385087532f..935eee32c50 100644 --- a/cpp/demo/Ice/callback/CallbackI.cpp +++ b/cpp/demo/Ice/callback/CallbackI.cpp @@ -24,11 +24,6 @@ CallbackReceiverI::callback(const Current&) cout << "received callback" << endl; } -CallbackI::CallbackI(const Ice::CommunicatorPtr& communicator) : - _communicator(communicator) -{ -} - void CallbackI::initiateCallback(const CallbackReceiverPrx& proxy, const Current& current) { @@ -37,8 +32,8 @@ CallbackI::initiateCallback(const CallbackReceiverPrx& proxy, const Current& cur } void -CallbackI::shutdown(const Ice::Current&) +CallbackI::shutdown(const Ice::Current& c) { cout << "Shutting down..." << endl; - _communicator->shutdown(); + c.adapter->getCommunicator()->shutdown(); } |