diff options
Diffstat (limited to 'cpp/test/IceGrid/allocation/TestI.cpp')
-rw-r--r-- | cpp/test/IceGrid/allocation/TestI.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/allocation/TestI.cpp b/cpp/test/IceGrid/allocation/TestI.cpp new file mode 100644 index 00000000000..4d36247ebb8 --- /dev/null +++ b/cpp/test/IceGrid/allocation/TestI.cpp @@ -0,0 +1,28 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2011 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 <Ice/Ice.h> +#include <TestI.h> + +TestI::TestI(const Ice::PropertiesPtr& properties) : + _properties(properties) +{ +} + +void +TestI::shutdown(const Ice::Current& current) +{ + current.adapter->getCommunicator()->shutdown(); +} + +std::string +TestI::getProperty(const std::string& name, const Ice::Current&) +{ + return _properties->getProperty(name); +} |