From f5452c64777343b5b854629f600e1734ef6f9008 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Mon, 1 Apr 2002 20:41:28 +0000 Subject: initial check-in --- cpp/demo/IceBox/hello/HelloI.cpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cpp/demo/IceBox/hello/HelloI.cpp (limited to 'cpp/demo/IceBox/hello/HelloI.cpp') diff --git a/cpp/demo/IceBox/hello/HelloI.cpp b/cpp/demo/IceBox/hello/HelloI.cpp new file mode 100644 index 00000000000..a0b5969f726 --- /dev/null +++ b/cpp/demo/IceBox/hello/HelloI.cpp @@ -0,0 +1,32 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#include +#include + +using namespace std; + +HelloI::HelloI(const Ice::CommunicatorPtr& communicator) : + _communicator(communicator) +{ +} + +void +HelloI::hello(const Ice::Current&) +{ + cout << "Hello World!" << endl; +} + +void +HelloI::shutdown(const Ice::Current&) +{ + cout << "Shutting down..." << endl; + _communicator->shutdown(); +} -- cgit v1.2.3