diff options
Diffstat (limited to 'cpp/demo/Ice/context/ContextI.cpp')
-rw-r--r-- | cpp/demo/Ice/context/ContextI.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cpp/demo/Ice/context/ContextI.cpp b/cpp/demo/Ice/context/ContextI.cpp deleted file mode 100644 index 13c263f963b..00000000000 --- a/cpp/demo/Ice/context/ContextI.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2015 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 <IceUtil/IceUtil.h> -#include <Ice/Ice.h> -#include <ContextI.h> - -using namespace std; - -void -ContextI::call(const Ice::Current& c) -{ - cout << "Type = "; - Ice::Context::const_iterator p = c.ctx.find("type"); - if (p != c.ctx.end()) - { - cout << p->second; - } - else - { - cout << "None"; - } - cout << endl; -} - -void -ContextI::shutdown(const Ice::Current& c) -{ - cout << "Shutting down..." << endl; - c.adapter->getCommunicator()->shutdown(); -} |