diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-04-01 20:41:28 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-04-01 20:41:28 +0000 |
commit | f5452c64777343b5b854629f600e1734ef6f9008 (patch) | |
tree | e4a76b4a6214ad9544470031848405acd0bc4197 /cpp/demo/IceBox/hello/HelloI.cpp | |
parent | adding IceBox (diff) | |
download | ice-f5452c64777343b5b854629f600e1734ef6f9008.tar.bz2 ice-f5452c64777343b5b854629f600e1734ef6f9008.tar.xz ice-f5452c64777343b5b854629f600e1734ef6f9008.zip |
initial check-in
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloI.cpp')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloI.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
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 <Ice/Ice.h> +#include <HelloI.h> + +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(); +} |