summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/callback/CallbackSenderI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/callback/CallbackSenderI.cpp')
-rw-r--r--cppe/demo/IceE/callback/CallbackSenderI.cpp42
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 d501b04806a..00000000000
--- a/cppe/demo/IceE/callback/CallbackSenderI.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2007 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());
- }
-}