1
// **********************************************************************
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
// This copy of Ice is licensed to you under the terms described in the
6
// ICE_LICENSE file included in this distribution.
8
// **********************************************************************
12
#include <Dispatcher.h>
13
#include <TestCommon.h>
18
TestIntfI::op(const Ice::Current& current)
20
test(Dispatcher::isDispatcherThread());
24
TestIntfI::opWithPayload(const Ice::ByteSeq&, const Ice::Current& current)
26
test(Dispatcher::isDispatcherThread());
30
TestIntfI::shutdown(const Ice::Current& current)
32
test(Dispatcher::isDispatcherThread());
33
current.adapter->getCommunicator()->shutdown();
37
TestIntfControllerI::holdAdapter(const Ice::Current&)
39
test(Dispatcher::isDispatcherThread());
44
TestIntfControllerI::resumeAdapter(const Ice::Current&)
46
test(Dispatcher::isDispatcherThread());
50
TestIntfControllerI::TestIntfControllerI(const Ice::ObjectAdapterPtr& adapter) : _adapter(adapter)