diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 14:55:49 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 14:55:49 +0000 |
commit | 7ac049a48f2561364e47b247572cb971f78b42e5 (patch) | |
tree | b4ade3ca787aa9f4a1ab2f88c70460a8f5037d20 /cpp/demo/Ice/callback/CallbackI.cpp | |
parent | Fix (diff) | |
download | ice-7ac049a48f2561364e47b247572cb971f78b42e5.tar.bz2 ice-7ac049a48f2561364e47b247572cb971f78b42e5.tar.xz ice-7ac049a48f2561364e47b247572cb971f78b42e5.zip |
Renamed Callback interface
Diffstat (limited to 'cpp/demo/Ice/callback/CallbackI.cpp')
-rw-r--r-- | cpp/demo/Ice/callback/CallbackI.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/cpp/demo/Ice/callback/CallbackI.cpp b/cpp/demo/Ice/callback/CallbackI.cpp deleted file mode 100644 index b2fe1e8a3b6..00000000000 --- a/cpp/demo/Ice/callback/CallbackI.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <Ice/Ice.h> -#include <CallbackI.h> - -using namespace std; -using namespace Ice; -using namespace Demo; - -void -CallbackI::initiateCallback(const CallbackReceiverPrx& proxy, const Current& current) -{ - cout << "initiating callback" << endl; - try - { - proxy->callback(current.ctx); - } - catch(const Exception& ex) - { - cout << ex << endl; - } -} - -void -CallbackI::shutdown(const Current& c) -{ - cout << "shutting down..." << endl; - try - { - c.adapter->getCommunicator()->shutdown(); - } - catch(const Exception& ex) - { - cout << ex << endl; - } -} |