summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestAMDI.h
blob: 6388b366152460cae14312dfb402f21d16e26454 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// **********************************************************************
//
// Copyright (c) 2003
// ZeroC, Inc.
// Billerica, MA, USA
//
// All Rights Reserved.
//
// Ice is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License version 2 as published by
// the Free Software Foundation.
//
// **********************************************************************

#ifndef TEST_AMD_I_H
#define TEST_AMD_I_H

#include <IceUtil/Thread.h>
#include <TestAMD.h>

class MyDerivedClassI : public Test::MyDerivedClass
{
public:

    MyDerivedClassI(const Ice::ObjectAdapterPtr&, const Ice::Identity&);
    
    virtual void shutdown_async(const Test::AMD_MyClass_shutdownPtr&,
				const Ice::Current&);

    virtual void opVoid_async(const Test::AMD_MyClass_opVoidPtr&,
			      const Ice::Current&);

    virtual void opByte_async(const Test::AMD_MyClass_opBytePtr&,
			      Ice::Byte, Ice::Byte,
			      const Ice::Current&);
    
    virtual void opBool_async(const Test::AMD_MyClass_opBoolPtr&,
			      bool, bool,
			      const Ice::Current&);
    
    virtual void opShortIntLong_async(const Test::AMD_MyClass_opShortIntLongPtr&,
				      Ice::Short, Ice::Int, Ice::Long,
				      const Ice::Current&);
    
    virtual void opFloatDouble_async(const Test::AMD_MyClass_opFloatDoublePtr&,
				     Ice::Float, Ice::Double,
				     const Ice::Current&);
    
    virtual void opString_async(const Test::AMD_MyClass_opStringPtr&,
				const std::string&, const std::string&,
				const Ice::Current&);
    
    virtual void opMyEnum_async(const Test::AMD_MyClass_opMyEnumPtr&,
				Test::MyEnum,
				const Ice::Current&);
    
    virtual void opMyClass_async(const Test::AMD_MyClass_opMyClassPtr&,
				 const Test::MyClassPrx&,
				 const Ice::Current&);

    virtual void opStruct_async(const Test::AMD_MyClass_opStructPtr&,
				const Test::Structure&, const Test::Structure&,
				const Ice::Current&);

    virtual void opByteS_async(const Test::AMD_MyClass_opByteSPtr&,
			       const Test::ByteS&, const Test::ByteS&,
			       const Ice::Current&);
    
    virtual void opBoolS_async(const Test::AMD_MyClass_opBoolSPtr&,
			       const Test::BoolS&, const Test::BoolS&,
			       const Ice::Current&);
    
    virtual void opShortIntLongS_async(const Test::AMD_MyClass_opShortIntLongSPtr&,
				       const Test::ShortS&, const Test::IntS&, const Test::LongS&,
				       const Ice::Current&);
    
    virtual void opFloatDoubleS_async(const Test::AMD_MyClass_opFloatDoubleSPtr&,
				      const Test::FloatS&, const Test::DoubleS&,
				      const Ice::Current&);
    
    virtual void opStringS_async(const Test::AMD_MyClass_opStringSPtr&,
				 const Test::StringS&, const Test::StringS&,
				 const Ice::Current&);
    
    virtual void opByteSS_async(const Test::AMD_MyClass_opByteSSPtr&,
				const Test::ByteSS&, const Test::ByteSS&,
				const Ice::Current&);
    
    virtual void opBoolSS_async(const Test::AMD_MyClass_opBoolSSPtr&,
				const Test::BoolSS&, const Test::BoolSS&,
				const Ice::Current&);
    
    virtual void opShortIntLongSS_async(const Test::AMD_MyClass_opShortIntLongSSPtr&,
					const Test::ShortSS&, const Test::IntSS&, const Test::LongSS&,
					const Ice::Current&);
    
    virtual void opFloatDoubleSS_async(const Test::AMD_MyClass_opFloatDoubleSSPtr&,
				       const Test::FloatSS&, const Test::DoubleSS&,
				       const Ice::Current&);
    
    virtual void opStringSS_async(const Test::AMD_MyClass_opStringSSPtr&,
				  const Test::StringSS&, const Test::StringSS&,
				  const Ice::Current&);

    virtual void opStringSSS_async(const Test::AMD_MyClass_opStringSSSPtr&,
				   const Test::StringSSS&, const Test::StringSSS&,
				   const Ice::Current&);

    virtual void opByteBoolD_async(const Test::AMD_MyClass_opByteBoolDPtr&,
				   const Test::ByteBoolD&, const Test::ByteBoolD&, 
				   const Ice::Current&);

    virtual void opShortIntD_async(const Test::AMD_MyClass_opShortIntDPtr&,
				   const Test::ShortIntD&, const Test::ShortIntD&,
				   const Ice::Current&);

    virtual void opLongFloatD_async(const Test::AMD_MyClass_opLongFloatDPtr&,
				    const Test::LongFloatD&, const Test::LongFloatD&,
				    const Ice::Current&);

    virtual void opStringStringD_async(const Test::AMD_MyClass_opStringStringDPtr&,
				       const Test::StringStringD&, const Test::StringStringD&,
				       const Ice::Current&);

    virtual void opStringMyEnumD_async(const Test::AMD_MyClass_opStringMyEnumDPtr&,
				       const Test::StringMyEnumD&, const Test::StringMyEnumD&,
				       const Ice::Current&);

    virtual void opIntS_async(const ::Test::AMD_MyClass_opIntSPtr&, const Test::IntS&, const Ice::Current&);

    virtual void opContext_async(const ::Test::AMD_MyClass_opContextPtr&, const Ice::Current&);

    virtual void opDerived_async(const Test::AMD_MyDerivedClass_opDerivedPtr&,
				 const Ice::Current&);
    
private:

    Ice::ObjectAdapterPtr _adapter;
    Ice::Identity _identity;
    IceUtil::ThreadPtr _opVoidThread;
};

#endif