summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/facets/TestI.h
blob: e828cfd7e4450c39dbe06778941a86173667284e (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// **********************************************************************
//
// Copyright (c) 2003-2004 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 <Test.h>

class AI : virtual public Test::A
{
public:

    virtual std::string callA(const Ice::Current&);
};

class BI : virtual public Test::B, virtual public AI
{
public:

    virtual std::string callB(const Ice::Current&);
};

class CI : virtual public Test::C, virtual public AI
{
public:

    virtual std::string callC(const Ice::Current&);
};

class DI : virtual public Test::D, virtual public BI, virtual public CI
{
public:

    virtual std::string callD(const Ice::Current&);
};

class EI : virtual public Test::E
{
public:

    virtual std::string callE(const Ice::Current&);
};

class FI : virtual public Test::F, virtual public EI
{
public:

    virtual std::string callF(const Ice::Current&);
};

class GI : virtual public Test::G
{
public:

    GI(const Ice::CommunicatorPtr&);
    virtual void shutdown(const Ice::Current&);
    virtual std::string callG(const Ice::Current&);

private:

    Ice::CommunicatorPtr _communicator;
};

class HI : virtual public Test::H, virtual public GI
{
public:

    HI(const Ice::CommunicatorPtr&);
    virtual std::string callH(const Ice::Current&);
};

#endif