diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 18:31:39 +0200 |
commit | d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba (patch) | |
tree | 3a5711cfe1b206f26d000a6630c721c9608e850d /cppe/demo/IceE/callback/CallbackSenderI.cpp | |
parent | Bug 3014 - isAbsolute incorrect (diff) | |
download | ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.bz2 ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.tar.xz ice-d2f6fad0a043e60ed450cf17cbdd85341cfcc6ba.zip |
Removed SL and IceE code
Diffstat (limited to 'cppe/demo/IceE/callback/CallbackSenderI.cpp')
-rw-r--r-- | cppe/demo/IceE/callback/CallbackSenderI.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/cppe/demo/IceE/callback/CallbackSenderI.cpp b/cppe/demo/IceE/callback/CallbackSenderI.cpp deleted file mode 100644 index e3008b7f8d5..00000000000 --- a/cppe/demo/IceE/callback/CallbackSenderI.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <CallbackSenderI.h> -#include <IceE/IceE.h> - -using namespace std; -using namespace Demo; - -void -CallbackSenderI::initiateCallback(const CallbackReceiverPrx& proxy, const Ice::Current& current) -{ - printf("initiating callback\n"); - try - { - proxy->callback(current.ctx); - } - catch(const Ice::Exception& ex) - { - fprintf(stderr, "%s\n", ex.toString().c_str()); - } -} - -void -CallbackSenderI::shutdown(const Ice::Current& c) -{ - printf("shutting down...\n"); - try - { - c.adapter->getCommunicator()->shutdown(); - } - catch(const Ice::Exception& ex) - { - fprintf(stderr, "%s\n", ex.toString().c_str()); - } -} |