blob: e0a6fb698d62b3188da1d307de05ebe28cb21461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// **********************************************************************
//
// Copyright (c) 2003-present 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.
//
// **********************************************************************
#ifndef TEST_I_H
#define TEST_I_H
#include <IceUtil/IceUtil.h>
#include <Test.h>
class TestIntfControllerI;
ICE_DEFINE_PTR(TestIntfControllerIPtr, TestIntfControllerI);
class TestIntfI : public virtual Test::TestIntf
{
public:
virtual void op(const Ice::Current&);
virtual void sleep(Ice::Int, const Ice::Current&);
#ifdef ICE_CPP11_MAPPING
virtual void opWithPayload(Ice::ByteSeq, const Ice::Current&);
#else
virtual void opWithPayload(const Ice::ByteSeq&, const Ice::Current&);
#endif
virtual void shutdown(const Ice::Current&);
};
class TestIntfControllerI : public Test::TestIntfController, IceUtil::Monitor<IceUtil::Mutex>
{
public:
virtual void holdAdapter(const Ice::Current&);
virtual void resumeAdapter(const Ice::Current&);
TestIntfControllerI(const Ice::ObjectAdapterPtr&);
private:
Ice::ObjectAdapterPtr _adapter;
};
#endif
|