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
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
import Foundation
import Ice
import TestCommon
class I1: I {
func opS(s1: S, current _: Current) throws -> (returnValue: S, s2: S) {
return (s1, s1)
}
func opSSeq(s1: SSeq, current _: Current) throws -> (returnValue: SSeq, s2: SSeq) {
return (s1, s1)
}
func opSMap(s1: SMap, current _: Current) throws -> (returnValue: SMap, s2: SMap) {
return (s1, s1)
}
func opC(c1: C?, current _: Current) throws -> (returnValue: C?, c2: C?) {
return (c1, c1)
}
func opCSeq(s1: CSeq, current _: Current) throws -> (returnValue: CSeq, s2: CSeq) {
return (s1, s1)
}
func opCMap(c1: CMap, current _: Current) throws -> (returnValue: CMap, c2: CMap) {
return (c1, c1)
}
func shutdown(current: Current) throws {
current.adapter!.getCommunicator().shutdown()
}
}
class I2: InnerI {
func opS(s1: InnerInner2S, current _: Current) throws -> (returnValue: InnerInner2S, s2: InnerInner2S) {
return (s1, s1)
}
func opSSeq(s1: InnerInner2SSeq, current _: Current) throws -> (returnValue: InnerInner2SSeq, s2: InnerInner2SSeq) {
return (s1, s1)
}
func opSMap(s1: InnerInner2SMap, current _: Current) throws -> (returnValue: InnerInner2SMap, s2: InnerInner2SMap) {
return (s1, s1)
}
func opC(c1: InnerInner2C?, current _: Current) throws -> (returnValue: InnerInner2C?, c2: InnerInner2C?) {
return (c1, c1)
}
func opCSeq(c1: InnerInner2CSeq, current _: Current) throws -> (returnValue: InnerInner2CSeq, c2: InnerInner2CSeq) {
return (c1, c1)
}
func opCMap(c1: InnerInner2CMap, current _: Current) throws -> (returnValue: InnerInner2CMap, c2: InnerInner2CMap) {
return (c1, c1)
}
func shutdown(current: Current) throws {
current.adapter!.getCommunicator().shutdown()
}
}
class I3: InnerInner2I {
func opS(s1: InnerInner2S, current _: Current) throws -> (returnValue: InnerInner2S, s2: InnerInner2S) {
return (s1, s1)
}
func opSSeq(s1: InnerInner2SSeq, current _: Current) throws -> (returnValue: InnerInner2SSeq, s2: InnerInner2SSeq) {
return (s1, s1)
}
func opSMap(s1: InnerInner2SMap, current _: Current) throws -> (returnValue: InnerInner2SMap, s2: InnerInner2SMap) {
return (s1, s1)
}
func opC(c1: InnerInner2C?, current _: Current) throws -> (returnValue: InnerInner2C?, c2: InnerInner2C?) {
return (c1, c1)
}
func opCSeq(c1: InnerInner2CSeq, current _: Current) throws -> (returnValue: InnerInner2CSeq, c2: InnerInner2CSeq) {
return (c1, c1)
}
func opCMap(c1: InnerInner2CMap, current _: Current) throws -> (returnValue: InnerInner2CMap, c2: InnerInner2CMap) {
return (c1, c1)
}
func shutdown(current: Current) throws {
current.adapter!.getCommunicator().shutdown()
}
}
class I4: InnerTestInner2I {
func opS(s1: S, current _: Current) throws -> (returnValue: S, s2: S) {
return (s1, s1)
}
func opSSeq(s1: SSeq, current _: Current) throws -> (returnValue: SSeq, s2: SSeq) {
return (s1, s1)
}
func opSMap(s1: SMap, current _: Current) throws -> (returnValue: SMap, s2: SMap) {
return (s1, s1)
}
func opC(c1: C?, current _: Current) throws -> (returnValue: C?, c2: C?) {
return (c1, c1)
}
func opCSeq(c1: CSeq, current _: Current) throws -> (returnValue: CSeq, c2: CSeq) {
return (c1, c1)
}
func opCMap(c1: CMap, current _: Current) throws -> (returnValue: CMap, c2: CMap) {
return (c1, c1)
}
func shutdown(current: Current) throws {
current.adapter!.getCommunicator().shutdown()
}
}
|