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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
import Ice
import TestCommon
class CAI: MACAOperations {
func caop(p: MACAPrx?, current: Ice.Current) throws -> MACAPrx? {
return p
}
}
class CBI: MBCBOperations {
func caop(p: MACAPrx?, current: Ice.Current) throws -> MACAPrx? {
return p
}
func cbop(p: MBCBPrx?, current: Ice.Current) throws -> MBCBPrx? {
return p
}
}
class CCI: MACCOperations {
func caop(p: MACAPrx?, current: Ice.Current) throws -> MACAPrx? {
return p
}
func ccop(p: MACCPrx?, current: Ice.Current) throws -> MACCPrx? {
return p
}
func cbop(p: MBCBPrx?, current: Ice.Current) throws -> MBCBPrx? {
return p
}
}
class CDI: MACDOperations {
func caop(p: MACAPrx?, current: Ice.Current) throws -> MACAPrx? {
return p
}
func ccop(p: MACCPrx?, current: Ice.Current) throws -> MACCPrx? {
return p
}
func cdop(p: MACDPrx?, current: Ice.Current) throws -> MACDPrx? {
return p
}
func iaop(p: MAIAPrx?, current: Ice.Current) throws -> MAIAPrx? {
return p
}
func cbop(p: MBCBPrx?, current: Ice.Current) throws -> MBCBPrx? {
return p
}
func ib1op(p: MBIB1Prx?, current: Ice.Current) throws -> MBIB1Prx? {
return p
}
func ib2op(p: MBIB2Prx?, current: Ice.Current) throws -> MBIB2Prx? {
return p
}
}
class IAI: MAIA {
func iaop(p: MAIAPrx?, current: Ice.Current) throws -> MAIAPrx? {
return p
}
}
class IB1I: MBIB1 {
func iaop(p: MAIAPrx?, current: Ice.Current) throws -> MAIAPrx? {
return p
}
func ib1op(p: MBIB1Prx?, current: Ice.Current) throws -> MBIB1Prx? {
return p
}
}
class IB2I: MBIB2 {
func iaop(p: MAIAPrx?, current: Ice.Current) throws -> MAIAPrx? {
return p
}
func ib2op(p: MBIB2Prx?, current: Ice.Current) throws -> MBIB2Prx? {
return p
}
}
class ICI: MAIC {
func iaop(p: MAIAPrx?, current: Ice.Current) throws -> MAIAPrx? {
return p
}
func icop(p: MAICPrx?, current: Ice.Current) throws -> MAICPrx? {
return p
}
func ib1op(p: MBIB1Prx?, current: Ice.Current) throws -> MBIB1Prx? {
return p
}
func ib2op(p: MBIB2Prx?, current: Ice.Current) throws -> MBIB2Prx? {
return p
}
}
class InitialI: Initial {
let _ca: MACAPrx
let _cb: MBCBPrx
let _cc: MACCPrx
let _cd: MACDPrx
let _ia: MAIAPrx
let _ib1: MBIB1Prx
let _ib2: MBIB2Prx
let _ic: MAICPrx
init(_ adapter: Ice.ObjectAdapter) throws {
_ca = try uncheckedCast(prx: adapter.addWithUUID(MACADisp(CAI())), type: MACAPrx.self)
_cb = try uncheckedCast(prx: adapter.addWithUUID(MBCBDisp(CBI())), type: MBCBPrx.self)
_cc = try uncheckedCast(prx: adapter.addWithUUID(MACCDisp(CCI())), type: MACCPrx.self)
_cd = try uncheckedCast(prx: adapter.addWithUUID(MACDDisp(CDI())), type: MACDPrx.self)
_ia = try uncheckedCast(prx: adapter.addWithUUID(MAIADisp(IAI())), type: MAIAPrx.self)
_ib1 = try uncheckedCast(prx: adapter.addWithUUID(MBIB1Disp(IB1I())), type: MBIB1Prx.self)
_ib2 = try uncheckedCast(prx: adapter.addWithUUID(MBIB2Disp(IB2I())), type: MBIB2Prx.self)
_ic = try uncheckedCast(prx: adapter.addWithUUID(MAICDisp(ICI())), type: MAICPrx.self)
}
func caop(current: Ice.Current) throws -> MACAPrx? {
return _ca
}
func cbop(current: Ice.Current) throws -> MBCBPrx? {
return _cb
}
func ccop(current: Ice.Current) throws -> MACCPrx? {
return _cc
}
func cdop(current: Ice.Current) throws -> MACDPrx? {
return _cd
}
func iaop(current: Ice.Current) throws -> MAIAPrx? {
return _ia
}
func ib1op(current: Ice.Current) throws -> MBIB1Prx? {
return _ib1
}
func ib2op(current: Ice.Current) throws -> MBIB2Prx? {
return _ib2
}
func icop(current: Ice.Current) throws -> MAICPrx? {
return _ic
}
func shutdown(current: Ice.Current) throws {
current.adapter!.getCommunicator().shutdown()
}
}
|