// ********************************************************************** // // Copyright (c) 2003-2016 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 #include using namespace Test; TestI::TestI() : _failed(false) { } void TestI::fail(const Ice::Current& current) { _failed = true; current.adapter->getCommunicator()->shutdown(); } void TestI::shutdown(const Ice::Current& current) { current.adapter->getCommunicator()->shutdown(); } bool TestI::isFailed() const { return _failed; }