r2corba 1.6.1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +173 -0
  3. data/LICENSE +59 -0
  4. data/README.rdoc +62 -0
  5. data/THANKS +54 -0
  6. data/bin/r2corba +8 -0
  7. data/bin/r2corba.bat +20 -0
  8. data/bin/ridlc +11 -0
  9. data/bin/ridlc.bat +23 -0
  10. data/bin/rins +7 -0
  11. data/bin/rins.bat +19 -0
  12. data/ext/.keep +0 -0
  13. data/lib/corba/cbase/IORMap.rb +32 -0
  14. data/lib/corba/cbase/ORB.rb +239 -0
  15. data/lib/corba/cbase/Request.rb +133 -0
  16. data/lib/corba/cbase/Streams.rb +128 -0
  17. data/lib/corba/cbase/Stub.rb +18 -0
  18. data/lib/corba/cbase/Typecode.rb +440 -0
  19. data/lib/corba/cbase/Values.rb +130 -0
  20. data/lib/corba/cbase/exception.rb +67 -0
  21. data/lib/corba/cbase/poa.rb +22 -0
  22. data/lib/corba/cbase/policies.rb +77 -0
  23. data/lib/corba/cbase/post_require.rb +13 -0
  24. data/lib/corba/cbase/require.rb +36 -0
  25. data/lib/corba/cmds/base.rb +84 -0
  26. data/lib/corba/cmds/test.rb +29 -0
  27. data/lib/corba/common/Any.rb +91 -0
  28. data/lib/corba/common/IDL.rb +100 -0
  29. data/lib/corba/common/ORB.rb +367 -0
  30. data/lib/corba/common/Object.rb +211 -0
  31. data/lib/corba/common/Request.rb +19 -0
  32. data/lib/corba/common/Servant.rb +107 -0
  33. data/lib/corba/common/Struct.rb +21 -0
  34. data/lib/corba/common/Stub.rb +78 -0
  35. data/lib/corba/common/Typecode.rb +1147 -0
  36. data/lib/corba/common/Union.rb +60 -0
  37. data/lib/corba/common/Values.rb +92 -0
  38. data/lib/corba/common/const.rb +21 -0
  39. data/lib/corba/common/exception.rb +68 -0
  40. data/lib/corba/common/require.rb +34 -0
  41. data/lib/corba/common/version.rb +21 -0
  42. data/lib/corba/idl/BiDirPolicyC.rb +62 -0
  43. data/lib/corba/idl/CosNamingC.rb +460 -0
  44. data/lib/corba/idl/CosNamingS.rb +308 -0
  45. data/lib/corba/idl/IDL.rb +20 -0
  46. data/lib/corba/idl/IORTable.pidl +61 -0
  47. data/lib/corba/idl/IORTableC.rb +116 -0
  48. data/lib/corba/idl/MessagingC.rb +903 -0
  49. data/lib/corba/idl/POAC.rb +929 -0
  50. data/lib/corba/idl/TAO_Ext.pidl +45 -0
  51. data/lib/corba/idl/TAO_ExtC.rb +178 -0
  52. data/lib/corba/idl/r2c_orb.rb +571 -0
  53. data/lib/corba/idl/require.rb +19 -0
  54. data/lib/corba/jbase/Any.rb +274 -0
  55. data/lib/corba/jbase/IORMap.rb +35 -0
  56. data/lib/corba/jbase/ORB.rb +111 -0
  57. data/lib/corba/jbase/Object.rb +98 -0
  58. data/lib/corba/jbase/Request.rb +225 -0
  59. data/lib/corba/jbase/Servant.rb +247 -0
  60. data/lib/corba/jbase/ServerRequest.rb +127 -0
  61. data/lib/corba/jbase/Streams.rb +734 -0
  62. data/lib/corba/jbase/Stub.rb +37 -0
  63. data/lib/corba/jbase/Typecode.rb +520 -0
  64. data/lib/corba/jbase/Values.rb +174 -0
  65. data/lib/corba/jbase/exception.rb +106 -0
  66. data/lib/corba/jbase/poa.rb +228 -0
  67. data/lib/corba/jbase/policies.rb +299 -0
  68. data/lib/corba/jbase/post_require.rb +13 -0
  69. data/lib/corba/jbase/require.rb +92 -0
  70. data/lib/corba/naming.rb +13 -0
  71. data/lib/corba/naming_service.rb +14 -0
  72. data/lib/corba/poa.rb +14 -0
  73. data/lib/corba/policies.rb +17 -0
  74. data/lib/corba/require.rb +16 -0
  75. data/lib/corba/svcs/ins/cos_naming.rb +432 -0
  76. data/lib/corba/svcs/ins/ins.rb +525 -0
  77. data/lib/corba/svcs/ins/naming_service.rb +118 -0
  78. data/lib/corba.rb +15 -0
  79. data/lib/ridlbe/ruby/config.rb +340 -0
  80. data/lib/ridlbe/ruby/orb.pidlc +0 -0
  81. data/lib/ridlbe/ruby/require.rb +15 -0
  82. data/lib/ridlbe/ruby/walker.rb +1605 -0
  83. data/mkrf_conf_bingem.rb +149 -0
  84. data/rakelib/bin.rake +79 -0
  85. data/rakelib/bin.rb +145 -0
  86. data/rakelib/build.rake +87 -0
  87. data/rakelib/config.rake +51 -0
  88. data/rakelib/config.rb +542 -0
  89. data/rakelib/ext.rake +183 -0
  90. data/rakelib/ext.rb +277 -0
  91. data/rakelib/ext_r2tao.rb +208 -0
  92. data/rakelib/gem.rake +251 -0
  93. data/rakelib/gem.rb +145 -0
  94. data/rakelib/package.rake +25 -0
  95. data/rakelib/test.rake +22 -0
  96. data/test/BiDirectional/Test.idl +33 -0
  97. data/test/BiDirectional/client.rb +131 -0
  98. data/test/BiDirectional/run_test.rb +67 -0
  99. data/test/BiDirectional/server.rb +167 -0
  100. data/test/CORBA_Services/Naming/BindingIterator/Test.idl +26 -0
  101. data/test/CORBA_Services/Naming/BindingIterator/client.rb +120 -0
  102. data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +81 -0
  103. data/test/CORBA_Services/Naming/BindingIterator/server.rb +108 -0
  104. data/test/CORBA_Services/Naming/Corbaname/Test.idl +26 -0
  105. data/test/CORBA_Services/Naming/Corbaname/client.rb +84 -0
  106. data/test/CORBA_Services/Naming/Corbaname/run_test.rb +87 -0
  107. data/test/CORBA_Services/Naming/Corbaname/server.rb +134 -0
  108. data/test/CORBA_Services/Naming/Simple/Test.idl +26 -0
  109. data/test/CORBA_Services/Naming/Simple/client.rb +83 -0
  110. data/test/CORBA_Services/Naming/Simple/run_test.rb +81 -0
  111. data/test/CORBA_Services/Naming/Simple/server.rb +108 -0
  112. data/test/Collocation/Diamond.idl +38 -0
  113. data/test/Collocation/run_test.rb +51 -0
  114. data/test/Collocation/test.rb +201 -0
  115. data/test/Connect_Timeout/Test.idl +26 -0
  116. data/test/Connect_Timeout/client.rb +109 -0
  117. data/test/Connect_Timeout/run_test.rb +51 -0
  118. data/test/DII/Test.idl +26 -0
  119. data/test/DII/client.rb +114 -0
  120. data/test/DII/run_test.rb +68 -0
  121. data/test/DII/server.rb +94 -0
  122. data/test/DSI/Test.idl +26 -0
  123. data/test/DSI/client.rb +65 -0
  124. data/test/DSI/run_test.rb +68 -0
  125. data/test/DSI/server.rb +105 -0
  126. data/test/Exceptions/Test.idl +47 -0
  127. data/test/Exceptions/client.rb +117 -0
  128. data/test/Exceptions/run_test.rb +68 -0
  129. data/test/Exceptions/server.rb +130 -0
  130. data/test/Hello/Test.idl +26 -0
  131. data/test/Hello/client.rb +77 -0
  132. data/test/Hello/run_test.rb +70 -0
  133. data/test/Hello/server.rb +94 -0
  134. data/test/IDL_Test/Test.idl +116 -0
  135. data/test/IDL_Test/Test_inc.idl +17 -0
  136. data/test/IDL_Test/client.rb +103 -0
  137. data/test/IDL_Test/run_test.rb +68 -0
  138. data/test/IDL_Test/server.rb +103 -0
  139. data/test/IORMap/Test.idl +26 -0
  140. data/test/IORMap/client.rb +72 -0
  141. data/test/IORMap/run_test.rb +68 -0
  142. data/test/IORMap/server.rb +113 -0
  143. data/test/IORTable/Test.idl +26 -0
  144. data/test/IORTable/client.rb +74 -0
  145. data/test/IORTable/run_test.rb +68 -0
  146. data/test/IORTable/server.rb +129 -0
  147. data/test/Implicit_Conversion/Test.idl +30 -0
  148. data/test/Implicit_Conversion/client.rb +112 -0
  149. data/test/Implicit_Conversion/run_test.rb +68 -0
  150. data/test/Implicit_Conversion/server.rb +98 -0
  151. data/test/Multi_Threading/Multiple_ORB/Test.idl +26 -0
  152. data/test/Multi_Threading/Multiple_ORB/client.rb +81 -0
  153. data/test/Multi_Threading/Multiple_ORB/run_test.rb +70 -0
  154. data/test/Multi_Threading/Multiple_ORB/server.rb +107 -0
  155. data/test/Multi_Threading/Simple/Test.idl +26 -0
  156. data/test/Multi_Threading/Simple/client.rb +92 -0
  157. data/test/Multi_Threading/Simple/run_test.rb +68 -0
  158. data/test/Multi_Threading/Simple/server.rb +117 -0
  159. data/test/Multi_Threading/Threads/Test.idl +27 -0
  160. data/test/Multi_Threading/Threads/client.rb +77 -0
  161. data/test/Multi_Threading/Threads/run_test.rb +75 -0
  162. data/test/Multi_Threading/Threads/server.rb +116 -0
  163. data/test/Multi_Threading/Threads/watchdog.rb +87 -0
  164. data/test/Multiple_Servant_Interfaces/Test.idl +33 -0
  165. data/test/Multiple_Servant_Interfaces/client.rb +69 -0
  166. data/test/Multiple_Servant_Interfaces/run_test.rb +68 -0
  167. data/test/Multiple_Servant_Interfaces/server.rb +101 -0
  168. data/test/Nil/Test.idl +26 -0
  169. data/test/Nil/run_test.rb +51 -0
  170. data/test/Nil/test.rb +80 -0
  171. data/test/OBV/AbstractInterface/client.rb +178 -0
  172. data/test/OBV/AbstractInterface/run_test.rb +68 -0
  173. data/test/OBV/AbstractInterface/server.rb +149 -0
  174. data/test/OBV/AbstractInterface/test.idl +52 -0
  175. data/test/OBV/Custom/OBV.idl +18 -0
  176. data/test/OBV/Custom/OBV_impl.rb +41 -0
  177. data/test/OBV/Custom/client.rb +85 -0
  178. data/test/OBV/Custom/run_test.rb +68 -0
  179. data/test/OBV/Custom/server.rb +99 -0
  180. data/test/OBV/Simple/OBV.idl +15 -0
  181. data/test/OBV/Simple/OBV_impl.rb +26 -0
  182. data/test/OBV/Simple/client.rb +85 -0
  183. data/test/OBV/Simple/run_test.rb +68 -0
  184. data/test/OBV/Simple/server.rb +99 -0
  185. data/test/OBV/Simple_Event/Event.idl +15 -0
  186. data/test/OBV/Simple_Event/Event_impl.rb +26 -0
  187. data/test/OBV/Simple_Event/client.rb +85 -0
  188. data/test/OBV/Simple_Event/run_test.rb +68 -0
  189. data/test/OBV/Simple_Event/server.rb +99 -0
  190. data/test/OBV/Supports/client.rb +115 -0
  191. data/test/OBV/Supports/run_test.rb +68 -0
  192. data/test/OBV/Supports/server.rb +102 -0
  193. data/test/OBV/Supports/supports.idl +32 -0
  194. data/test/OBV/Supports/supports_impl.rb +59 -0
  195. data/test/OBV/Tree/client.rb +115 -0
  196. data/test/OBV/Tree/run_test.rb +68 -0
  197. data/test/OBV/Tree/server.rb +116 -0
  198. data/test/OBV/Tree/test.idl +31 -0
  199. data/test/OBV/Truncatable/Extra.idl +26 -0
  200. data/test/OBV/Truncatable/Truncatable.idl +105 -0
  201. data/test/OBV/Truncatable/Truncatable_impl.rb +85 -0
  202. data/test/OBV/Truncatable/client.rb +278 -0
  203. data/test/OBV/Truncatable/run_test.rb +68 -0
  204. data/test/OBV/Truncatable/server.rb +88 -0
  205. data/test/OBV/ValueBox/client.rb +497 -0
  206. data/test/OBV/ValueBox/run_test.rb +68 -0
  207. data/test/OBV/ValueBox/server.rb +271 -0
  208. data/test/OBV/ValueBox/valuebox.idl +101 -0
  209. data/test/OBV/ValueBox/vb_basic.idl +75 -0
  210. data/test/OBV/ValueBox/vb_struct.idl +68 -0
  211. data/test/OBV/ValueBox/vb_union.idl +21 -0
  212. data/test/Object/Test.idl +26 -0
  213. data/test/Object/client.rb +111 -0
  214. data/test/Object/run_test.rb +68 -0
  215. data/test/Object/server.rb +125 -0
  216. data/test/POA/Test.idl +27 -0
  217. data/test/POA/run_test.rb +51 -0
  218. data/test/POA/test.rb +111 -0
  219. data/test/Param_Test/Test.idl +182 -0
  220. data/test/Param_Test/client.rb +276 -0
  221. data/test/Param_Test/run_test.rb +68 -0
  222. data/test/Param_Test/server.rb +295 -0
  223. data/test/Performance/Simple/Test.idl +26 -0
  224. data/test/Performance/Simple/client.rb +89 -0
  225. data/test/Performance/Simple/run_test.rb +68 -0
  226. data/test/Performance/Simple/server.rb +94 -0
  227. data/test/Policies/Test.idl +26 -0
  228. data/test/Policies/run_test.rb +51 -0
  229. data/test/Policies/test.rb +142 -0
  230. data/test/Timeout/client.rb +206 -0
  231. data/test/Timeout/run_test.rb +68 -0
  232. data/test/Timeout/server.rb +108 -0
  233. data/test/Timeout/test.idl +18 -0
  234. data/test/lib/assert.rb +41 -0
  235. data/test/lib/test.rb +546 -0
  236. data/test/test_runner.rb +191 -0
  237. metadata +318 -0
@@ -0,0 +1,903 @@
1
+ # -*- Ruby -*-
2
+ #
3
+ # **** Code generated by the R2CORBA IDL Compiler ****
4
+ # R2CORBA has been developed by:
5
+ # Remedy IT Expertise BV
6
+ # The Netherlands
7
+ # https://www.remedy.nl
8
+ #
9
+
10
+ module R2CORBA
11
+
12
+ CORBA.implement('Messaging.pidl', {}, CORBA::IDL::CLIENT_STUB) {
13
+
14
+ ## include
15
+ CORBA.implement('TimeBase.pidl', {}, CORBA::IDL::CLIENT_STUB) {
16
+
17
+ module TimeBase
18
+
19
+ class TimeT < CORBA::_tc_ulonglong.get_type
20
+ def TimeT._tc; @@tc_TimeT ||= CORBA::TypeCode::Alias.new('IDL:omg.org/TimeBase/TimeT:1.0', 'TimeT', CORBA::_tc_ulonglong, self); end
21
+ end # typedef TimeT
22
+ class InaccuracyT < TimeBase::TimeT
23
+ def InaccuracyT._tc; @@tc_InaccuracyT ||= CORBA::TypeCode::Alias.new('IDL:omg.org/TimeBase/InaccuracyT:1.0', 'InaccuracyT',TimeBase::TimeT._tc, self); end
24
+ end # typedef InaccuracyT
25
+ class TdfT < CORBA::_tc_short.get_type
26
+ def TdfT._tc; @@tc_TdfT ||= CORBA::TypeCode::Alias.new('IDL:omg.org/TimeBase/TdfT:1.0', 'TdfT', CORBA::_tc_short, self); end
27
+ end # typedef TdfT
28
+
29
+ class UtcT < CORBA::Portable::Struct
30
+
31
+ def UtcT._tc
32
+ @@tc_UtcT ||= CORBA::TypeCode::Struct.new('IDL:omg.org/TimeBase/UtcT:1.0'.freeze, 'UtcT',
33
+ [['time', TimeBase::TimeT._tc],
34
+ ['inacclo', CORBA._tc_ulong],
35
+ ['inacchi', CORBA._tc_ushort],
36
+ ['tdf', TimeBase::TdfT._tc]], self)
37
+ end
38
+ self._tc # register typecode
39
+ attr_accessor :time
40
+ attr_accessor :inacclo
41
+ attr_accessor :inacchi
42
+ attr_accessor :tdf
43
+ def initialize(*param_)
44
+ @time = param_.shift
45
+ @inacclo = param_.shift
46
+ @inacchi = param_.shift
47
+ @tdf = param_.shift
48
+ end
49
+
50
+ end #of struct UtcT
51
+
52
+ class IntervalT < CORBA::Portable::Struct
53
+
54
+ def IntervalT._tc
55
+ @@tc_IntervalT ||= CORBA::TypeCode::Struct.new('IDL:omg.org/TimeBase/IntervalT:1.0'.freeze, 'IntervalT',
56
+ [['lower_bound', TimeBase::TimeT._tc],
57
+ ['upper_bound', TimeBase::TimeT._tc]], self)
58
+ end
59
+ self._tc # register typecode
60
+ attr_accessor :lower_bound
61
+ attr_accessor :upper_bound
62
+ def initialize(*param_)
63
+ @lower_bound = param_.shift
64
+ @upper_bound = param_.shift
65
+ end
66
+
67
+ end #of struct IntervalT
68
+ end #of module TimeBase
69
+
70
+
71
+ } ## end of include 'TimeBase.pidl'
72
+
73
+ ## include
74
+ CORBA.implement('IOP.pidl', {}, CORBA::IDL::CLIENT_STUB) {
75
+
76
+ module IOP
77
+
78
+
79
+ module Codec ## interface
80
+
81
+ Id = 'IDL:omg.org/IOP/Codec:1.0'.freeze
82
+ Ids = [ Id ].freeze
83
+
84
+ def Codec._tc; @@tc_Codec ||= CORBA::TypeCode::ObjectRef.new(Id, 'Codec', self); end
85
+ self._tc # register typecode
86
+
87
+ def Codec._narrow(obj)
88
+ return nil if CORBA.is_nil(obj)
89
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
90
+ end
91
+
92
+ def Codec._duplicate(obj)
93
+ obj
94
+ end
95
+
96
+ def _interface_repository_id
97
+ IOP::Codec::Id
98
+ end
99
+
100
+
101
+ class InvalidTypeForEncoding < CORBA::UserException
102
+
103
+ def InvalidTypeForEncoding._tc
104
+ @@tc_InvalidTypeForEncoding ||= CORBA::TypeCode::Except.new('IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0'.freeze, 'InvalidTypeForEncoding', self)
105
+ end
106
+ self._tc # register typecode
107
+ end #of exception InvalidTypeForEncoding
108
+
109
+ class FormatMismatch < CORBA::UserException
110
+
111
+ def FormatMismatch._tc
112
+ @@tc_FormatMismatch ||= CORBA::TypeCode::Except.new('IDL:omg.org/IOP/Codec/FormatMismatch:1.0'.freeze, 'FormatMismatch', self)
113
+ end
114
+ self._tc # register typecode
115
+ end #of exception FormatMismatch
116
+
117
+ class TypeMismatch < CORBA::UserException
118
+
119
+ def TypeMismatch._tc
120
+ @@tc_TypeMismatch ||= CORBA::TypeCode::Except.new('IDL:omg.org/IOP/Codec/TypeMismatch:1.0'.freeze, 'TypeMismatch', self)
121
+ end
122
+ self._tc # register typecode
123
+ end #of exception TypeMismatch
124
+
125
+ def encode(data)
126
+ raise ::CORBA::NO_IMPLEMENT.new(
127
+ 'unimplemented operation on local interface',
128
+ 1, ::CORBA::COMPLETED_NO)
129
+ end #of operation encode
130
+
131
+ def decode(data)
132
+ raise ::CORBA::NO_IMPLEMENT.new(
133
+ 'unimplemented operation on local interface',
134
+ 1, ::CORBA::COMPLETED_NO)
135
+ end #of operation decode
136
+
137
+ def encode_value(data)
138
+ raise ::CORBA::NO_IMPLEMENT.new(
139
+ 'unimplemented operation on local interface',
140
+ 1, ::CORBA::COMPLETED_NO)
141
+ end #of operation encode_value
142
+
143
+ def decode_value(data, tc)
144
+ raise ::CORBA::NO_IMPLEMENT.new(
145
+ 'unimplemented operation on local interface',
146
+ 1, ::CORBA::COMPLETED_NO)
147
+ end #of operation decode_value
148
+ end #of interface Codec
149
+
150
+ class EncodingFormat < CORBA::_tc_short.get_type
151
+ def EncodingFormat._tc; @@tc_EncodingFormat ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/EncodingFormat:1.0', 'EncodingFormat', CORBA::_tc_short, self); end
152
+ end # typedef EncodingFormat
153
+ ENCODING_CDR_ENCAPS = 0
154
+
155
+ class Encoding < CORBA::Portable::Struct
156
+
157
+ def Encoding._tc
158
+ @@tc_Encoding ||= CORBA::TypeCode::Struct.new('IDL:omg.org/IOP/Encoding:1.0'.freeze, 'Encoding',
159
+ [['r_format', IOP::EncodingFormat._tc],
160
+ ['major_version', CORBA._tc_octet],
161
+ ['minor_version', CORBA._tc_octet]], self)
162
+ end
163
+ self._tc # register typecode
164
+ attr_accessor :r_format
165
+ attr_accessor :major_version
166
+ attr_accessor :minor_version
167
+ def initialize(*param_)
168
+ @r_format = param_.shift
169
+ @major_version = param_.shift
170
+ @minor_version = param_.shift
171
+ end
172
+
173
+ end #of struct Encoding
174
+
175
+ module CodecFactory ## interface
176
+
177
+ Id = 'IDL:omg.org/IOP/CodecFactory:1.0'.freeze
178
+ Ids = [ Id ].freeze
179
+
180
+ def CodecFactory._tc; @@tc_CodecFactory ||= CORBA::TypeCode::ObjectRef.new(Id, 'CodecFactory', self); end
181
+ self._tc # register typecode
182
+
183
+ def CodecFactory._narrow(obj)
184
+ return nil if CORBA.is_nil(obj)
185
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
186
+ end
187
+
188
+ def CodecFactory._duplicate(obj)
189
+ obj
190
+ end
191
+
192
+ def _interface_repository_id
193
+ IOP::CodecFactory::Id
194
+ end
195
+
196
+
197
+ class UnknownEncoding < CORBA::UserException
198
+
199
+ def UnknownEncoding._tc
200
+ @@tc_UnknownEncoding ||= CORBA::TypeCode::Except.new('IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0'.freeze, 'UnknownEncoding', self)
201
+ end
202
+ self._tc # register typecode
203
+ end #of exception UnknownEncoding
204
+
205
+ def create_codec(enc)
206
+ raise ::CORBA::NO_IMPLEMENT.new(
207
+ 'unimplemented operation on local interface',
208
+ 1, ::CORBA::COMPLETED_NO)
209
+ end #of operation create_codec
210
+ end #of interface CodecFactory
211
+
212
+ class ProfileId < CORBA::_tc_ulong.get_type
213
+ def ProfileId._tc; @@tc_ProfileId ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/ProfileId:1.0', 'ProfileId', CORBA::_tc_ulong, self); end
214
+ end # typedef ProfileId
215
+ TAG_INTERNET_IOP = 0
216
+ TAG_MULTIPLE_COMPONENTS = 1
217
+
218
+ class TaggedProfile < CORBA::Portable::Struct
219
+
220
+ def TaggedProfile._tc
221
+ @@tc_TaggedProfile ||= CORBA::TypeCode::Struct.new('IDL:omg.org/IOP/TaggedProfile:1.0'.freeze, 'TaggedProfile',
222
+ [['tag', IOP::ProfileId._tc],
223
+ ['profile_data', CORBA::OctetSeq._tc]], self)
224
+ end
225
+ self._tc # register typecode
226
+ attr_accessor :tag
227
+ attr_accessor :profile_data
228
+ def initialize(*param_)
229
+ @tag = param_.shift
230
+ @profile_data = param_.shift
231
+ end
232
+
233
+ end #of struct TaggedProfile
234
+ class TaggedProfileSeq < Array
235
+ def TaggedProfileSeq._tc
236
+ @@tc_TaggedProfileSeq ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/TaggedProfileSeq:1.0', 'TaggedProfileSeq',
237
+ CORBA::TypeCode::Sequence.new(IOP::TaggedProfile._tc), self)
238
+ end
239
+ end # typedef TaggedProfileSeq
240
+
241
+ class IOR < CORBA::Portable::Struct
242
+
243
+ def IOR._tc
244
+ @@tc_IOR ||= CORBA::TypeCode::Struct.new('IDL:omg.org/IOP/IOR:1.0'.freeze, 'IOR',
245
+ [['type_id', CORBA._tc_string],
246
+ ['profiles', IOP::TaggedProfileSeq._tc]], self)
247
+ end
248
+ self._tc # register typecode
249
+ attr_accessor :type_id
250
+ attr_accessor :profiles
251
+ def initialize(*param_)
252
+ @type_id = param_.shift
253
+ @profiles = param_.shift
254
+ end
255
+
256
+ end #of struct IOR
257
+ class ComponentId < CORBA::_tc_ulong.get_type
258
+ def ComponentId._tc; @@tc_ComponentId ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/ComponentId:1.0', 'ComponentId', CORBA::_tc_ulong, self); end
259
+ end # typedef ComponentId
260
+ TAG_ORB_TYPE = 0
261
+ TAG_CODE_SETS = 1
262
+ TAG_POLICIES = 2
263
+ TAG_ALTERNATE_IIOP_ADDRESS = 3
264
+ TAG_ASSOCIATION_OPTIONS = 13
265
+ TAG_JAVA_CODEBASE = 25
266
+
267
+ class TaggedComponent < CORBA::Portable::Struct
268
+
269
+ def TaggedComponent._tc
270
+ @@tc_TaggedComponent ||= CORBA::TypeCode::Struct.new('IDL:omg.org/IOP/TaggedComponent:1.0'.freeze, 'TaggedComponent',
271
+ [['tag', IOP::ComponentId._tc],
272
+ ['component_data', CORBA::OctetSeq._tc]], self)
273
+ end
274
+ self._tc # register typecode
275
+ attr_accessor :tag
276
+ attr_accessor :component_data
277
+ def initialize(*param_)
278
+ @tag = param_.shift
279
+ @component_data = param_.shift
280
+ end
281
+
282
+ end #of struct TaggedComponent
283
+ class MultipleComponentProfile < Array
284
+ def MultipleComponentProfile._tc
285
+ @@tc_MultipleComponentProfile ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/MultipleComponentProfile:1.0', 'MultipleComponentProfile',
286
+ CORBA::TypeCode::Sequence.new(IOP::TaggedComponent._tc), self)
287
+ end
288
+ end # typedef MultipleComponentProfile
289
+ class TaggedComponentSeq < Array
290
+ def TaggedComponentSeq._tc
291
+ @@tc_TaggedComponentSeq ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/TaggedComponentSeq:1.0', 'TaggedComponentSeq',
292
+ CORBA::TypeCode::Sequence.new(IOP::TaggedComponent._tc), self)
293
+ end
294
+ end # typedef TaggedComponentSeq
295
+ class ServiceId < CORBA::_tc_ulong.get_type
296
+ def ServiceId._tc; @@tc_ServiceId ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/ServiceId:1.0', 'ServiceId', CORBA::_tc_ulong, self); end
297
+ end # typedef ServiceId
298
+
299
+ class ServiceContext < CORBA::Portable::Struct
300
+
301
+ def ServiceContext._tc
302
+ @@tc_ServiceContext ||= CORBA::TypeCode::Struct.new('IDL:omg.org/IOP/ServiceContext:1.0'.freeze, 'ServiceContext',
303
+ [['context_id', IOP::ServiceId._tc],
304
+ ['context_data', CORBA::OctetSeq._tc]], self)
305
+ end
306
+ self._tc # register typecode
307
+ attr_accessor :context_id
308
+ attr_accessor :context_data
309
+ def initialize(*param_)
310
+ @context_id = param_.shift
311
+ @context_data = param_.shift
312
+ end
313
+
314
+ end #of struct ServiceContext
315
+ class ServiceContextList < Array
316
+ def ServiceContextList._tc
317
+ @@tc_ServiceContextList ||= CORBA::TypeCode::Alias.new('IDL:omg.org/IOP/ServiceContextList:1.0', 'ServiceContextList',
318
+ CORBA::TypeCode::Sequence.new(IOP::ServiceContext._tc), self)
319
+ end
320
+ end # typedef ServiceContextList
321
+ TransactionService = 0
322
+ CodeSets = 1
323
+ ChainBypassCheck = 2
324
+ ChainBypassInfo = 3
325
+ LogicalThreadId = 4
326
+ BI_DIR_IIOP = 5
327
+ SendingContextRunTime = 6
328
+ INVOCATION_POLICIES = 7
329
+ FORWARDED_IDENTITY = 8
330
+ UnknownExceptionInfo = 9
331
+ ExceptionDetailMessage = 14
332
+ SecurityAttributeService = 15
333
+ end #of module IOP
334
+
335
+
336
+ } ## end of include 'IOP.pidl'
337
+
338
+ module Messaging
339
+
340
+ class RebindMode < CORBA::_tc_short.get_type
341
+ def RebindMode._tc; @@tc_RebindMode ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/RebindMode:1.0', 'RebindMode', CORBA::_tc_short, self); end
342
+ end # typedef RebindMode
343
+ TRANSPARENT = 0
344
+ NO_REBIND = 1
345
+ NO_RECONNECT = 2
346
+ class SyncScope < CORBA::_tc_short.get_type
347
+ def SyncScope._tc; @@tc_SyncScope ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/SyncScope:1.0', 'SyncScope', CORBA::_tc_short, self); end
348
+ end # typedef SyncScope
349
+ SYNC_NONE = 0
350
+ SYNC_WITH_TRANSPORT = 1
351
+ SYNC_WITH_SERVER = 2
352
+ SYNC_WITH_TARGET = 3
353
+ class RoutingType < CORBA::_tc_short.get_type
354
+ def RoutingType._tc; @@tc_RoutingType ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/RoutingType:1.0', 'RoutingType', CORBA::_tc_short, self); end
355
+ end # typedef RoutingType
356
+ ROUTE_NONE = 0
357
+ ROUTE_FORWARD = 1
358
+ ROUTE_STORE_AND_FORWARD = 2
359
+ class Timeout < TimeBase::TimeT
360
+ def Timeout._tc; @@tc_Timeout ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/Timeout:1.0', 'Timeout',TimeBase::TimeT._tc, self); end
361
+ end # typedef Timeout
362
+ class Priority < CORBA::_tc_short.get_type
363
+ def Priority._tc; @@tc_Priority ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/Priority:1.0', 'Priority', CORBA::_tc_short, self); end
364
+ end # typedef Priority
365
+ class Ordering < CORBA::_tc_ushort.get_type
366
+ def Ordering._tc; @@tc_Ordering ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/Ordering:1.0', 'Ordering', CORBA::_tc_ushort, self); end
367
+ end # typedef Ordering
368
+ ORDER_ANY = 1
369
+ ORDER_TEMPORAL = 2
370
+ ORDER_PRIORITY = 4
371
+ ORDER_DEADLINE = 8
372
+ REBIND_POLICY_TYPE = 23
373
+
374
+ module RebindPolicy ## interface
375
+
376
+ include CORBA::Policy
377
+
378
+ Id = 'IDL:omg.org/Messaging/RebindPolicy:1.0'.freeze
379
+ Ids = [ Id,
380
+ CORBA::Policy::Id ].freeze
381
+
382
+ def RebindPolicy._tc; @@tc_RebindPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RebindPolicy', self); end
383
+ self._tc # register typecode
384
+
385
+ def RebindPolicy._narrow(obj)
386
+ return nil if CORBA.is_nil(obj)
387
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
388
+ end
389
+
390
+ def RebindPolicy._duplicate(obj)
391
+ obj
392
+ end
393
+
394
+ def _interface_repository_id
395
+ Messaging::RebindPolicy::Id
396
+ end
397
+
398
+
399
+ def rebind_mode()
400
+ raise ::CORBA::NO_IMPLEMENT.new(
401
+ 'unimplemented attribute on local interface',
402
+ 1, ::CORBA::COMPLETED_NO)
403
+ end #of attribute rebind_mode getter
404
+ end #of interface RebindPolicy
405
+
406
+ SYNC_SCOPE_POLICY_TYPE = 24
407
+
408
+ module SyncScopePolicy ## interface
409
+
410
+ include CORBA::Policy
411
+
412
+ Id = 'IDL:omg.org/Messaging/SyncScopePolicy:1.0'.freeze
413
+ Ids = [ Id,
414
+ CORBA::Policy::Id ].freeze
415
+
416
+ def SyncScopePolicy._tc; @@tc_SyncScopePolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'SyncScopePolicy', self); end
417
+ self._tc # register typecode
418
+
419
+ def SyncScopePolicy._narrow(obj)
420
+ return nil if CORBA.is_nil(obj)
421
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
422
+ end
423
+
424
+ def SyncScopePolicy._duplicate(obj)
425
+ obj
426
+ end
427
+
428
+ def _interface_repository_id
429
+ Messaging::SyncScopePolicy::Id
430
+ end
431
+
432
+
433
+ def synchronization()
434
+ raise ::CORBA::NO_IMPLEMENT.new(
435
+ 'unimplemented attribute on local interface',
436
+ 1, ::CORBA::COMPLETED_NO)
437
+ end #of attribute synchronization getter
438
+ end #of interface SyncScopePolicy
439
+
440
+ REQUEST_PRIORITY_POLICY_TYPE = 25
441
+
442
+ class PriorityRange < CORBA::Portable::Struct
443
+
444
+ def PriorityRange._tc
445
+ @@tc_PriorityRange ||= CORBA::TypeCode::Struct.new('IDL:omg.org/Messaging/PriorityRange:1.0'.freeze, 'PriorityRange',
446
+ [['min', Messaging::Priority._tc],
447
+ ['max', Messaging::Priority._tc]], self)
448
+ end
449
+ self._tc # register typecode
450
+ attr_accessor :min
451
+ attr_accessor :max
452
+ def initialize(*param_)
453
+ @min = param_.shift
454
+ @max = param_.shift
455
+ end
456
+
457
+ end #of struct PriorityRange
458
+
459
+ module RequestPriorityPolicy ## interface
460
+
461
+ include CORBA::Policy
462
+
463
+ Id = 'IDL:omg.org/Messaging/RequestPriorityPolicy:1.0'.freeze
464
+ Ids = [ Id,
465
+ CORBA::Policy::Id ].freeze
466
+
467
+ def RequestPriorityPolicy._tc; @@tc_RequestPriorityPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RequestPriorityPolicy', self); end
468
+ self._tc # register typecode
469
+
470
+ def RequestPriorityPolicy._narrow(obj)
471
+ return nil if CORBA.is_nil(obj)
472
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
473
+ end
474
+
475
+ def RequestPriorityPolicy._duplicate(obj)
476
+ obj
477
+ end
478
+
479
+ def _interface_repository_id
480
+ Messaging::RequestPriorityPolicy::Id
481
+ end
482
+
483
+
484
+ def priority_range()
485
+ raise ::CORBA::NO_IMPLEMENT.new(
486
+ 'unimplemented attribute on local interface',
487
+ 1, ::CORBA::COMPLETED_NO)
488
+ end #of attribute priority_range getter
489
+ end #of interface RequestPriorityPolicy
490
+
491
+ REPLY_PRIORITY_POLICY_TYPE = 26
492
+
493
+ module ReplyPriorityPolicy ## interface
494
+
495
+ include CORBA::Policy
496
+
497
+ Id = 'IDL:omg.org/Messaging/ReplyPriorityPolicy:1.0'.freeze
498
+ Ids = [ Id,
499
+ CORBA::Policy::Id ].freeze
500
+
501
+ def ReplyPriorityPolicy._tc; @@tc_ReplyPriorityPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ReplyPriorityPolicy', self); end
502
+ self._tc # register typecode
503
+
504
+ def ReplyPriorityPolicy._narrow(obj)
505
+ return nil if CORBA.is_nil(obj)
506
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
507
+ end
508
+
509
+ def ReplyPriorityPolicy._duplicate(obj)
510
+ obj
511
+ end
512
+
513
+ def _interface_repository_id
514
+ Messaging::ReplyPriorityPolicy::Id
515
+ end
516
+
517
+
518
+ def priority_range()
519
+ raise ::CORBA::NO_IMPLEMENT.new(
520
+ 'unimplemented attribute on local interface',
521
+ 1, ::CORBA::COMPLETED_NO)
522
+ end #of attribute priority_range getter
523
+ end #of interface ReplyPriorityPolicy
524
+
525
+ REQUEST_START_TIME_POLICY_TYPE = 27
526
+
527
+ module RequestStartTimePolicy ## interface
528
+
529
+ include CORBA::Policy
530
+
531
+ Id = 'IDL:omg.org/Messaging/RequestStartTimePolicy:1.0'.freeze
532
+ Ids = [ Id,
533
+ CORBA::Policy::Id ].freeze
534
+
535
+ def RequestStartTimePolicy._tc; @@tc_RequestStartTimePolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RequestStartTimePolicy', self); end
536
+ self._tc # register typecode
537
+
538
+ def RequestStartTimePolicy._narrow(obj)
539
+ return nil if CORBA.is_nil(obj)
540
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
541
+ end
542
+
543
+ def RequestStartTimePolicy._duplicate(obj)
544
+ obj
545
+ end
546
+
547
+ def _interface_repository_id
548
+ Messaging::RequestStartTimePolicy::Id
549
+ end
550
+
551
+
552
+ def start_time()
553
+ raise ::CORBA::NO_IMPLEMENT.new(
554
+ 'unimplemented attribute on local interface',
555
+ 1, ::CORBA::COMPLETED_NO)
556
+ end #of attribute start_time getter
557
+ end #of interface RequestStartTimePolicy
558
+
559
+ REQUEST_END_TIME_POLICY_TYPE = 28
560
+
561
+ module RequestEndTimePolicy ## interface
562
+
563
+ include CORBA::Policy
564
+
565
+ Id = 'IDL:omg.org/Messaging/RequestEndTimePolicy:1.0'.freeze
566
+ Ids = [ Id,
567
+ CORBA::Policy::Id ].freeze
568
+
569
+ def RequestEndTimePolicy._tc; @@tc_RequestEndTimePolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RequestEndTimePolicy', self); end
570
+ self._tc # register typecode
571
+
572
+ def RequestEndTimePolicy._narrow(obj)
573
+ return nil if CORBA.is_nil(obj)
574
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
575
+ end
576
+
577
+ def RequestEndTimePolicy._duplicate(obj)
578
+ obj
579
+ end
580
+
581
+ def _interface_repository_id
582
+ Messaging::RequestEndTimePolicy::Id
583
+ end
584
+
585
+
586
+ def end_time()
587
+ raise ::CORBA::NO_IMPLEMENT.new(
588
+ 'unimplemented attribute on local interface',
589
+ 1, ::CORBA::COMPLETED_NO)
590
+ end #of attribute end_time getter
591
+ end #of interface RequestEndTimePolicy
592
+
593
+ REPLY_START_TIME_POLICY_TYPE = 29
594
+
595
+ module ReplyStartTimePolicy ## interface
596
+
597
+ include CORBA::Policy
598
+
599
+ Id = 'IDL:omg.org/Messaging/ReplyStartTimePolicy:1.0'.freeze
600
+ Ids = [ Id,
601
+ CORBA::Policy::Id ].freeze
602
+
603
+ def ReplyStartTimePolicy._tc; @@tc_ReplyStartTimePolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ReplyStartTimePolicy', self); end
604
+ self._tc # register typecode
605
+
606
+ def ReplyStartTimePolicy._narrow(obj)
607
+ return nil if CORBA.is_nil(obj)
608
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
609
+ end
610
+
611
+ def ReplyStartTimePolicy._duplicate(obj)
612
+ obj
613
+ end
614
+
615
+ def _interface_repository_id
616
+ Messaging::ReplyStartTimePolicy::Id
617
+ end
618
+
619
+
620
+ def start_time()
621
+ raise ::CORBA::NO_IMPLEMENT.new(
622
+ 'unimplemented attribute on local interface',
623
+ 1, ::CORBA::COMPLETED_NO)
624
+ end #of attribute start_time getter
625
+ end #of interface ReplyStartTimePolicy
626
+
627
+ REPLY_END_TIME_POLICY_TYPE = 30
628
+
629
+ module ReplyEndTimePolicy ## interface
630
+
631
+ include CORBA::Policy
632
+
633
+ Id = 'IDL:omg.org/Messaging/ReplyEndTimePolicy:1.0'.freeze
634
+ Ids = [ Id,
635
+ CORBA::Policy::Id ].freeze
636
+
637
+ def ReplyEndTimePolicy._tc; @@tc_ReplyEndTimePolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ReplyEndTimePolicy', self); end
638
+ self._tc # register typecode
639
+
640
+ def ReplyEndTimePolicy._narrow(obj)
641
+ return nil if CORBA.is_nil(obj)
642
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
643
+ end
644
+
645
+ def ReplyEndTimePolicy._duplicate(obj)
646
+ obj
647
+ end
648
+
649
+ def _interface_repository_id
650
+ Messaging::ReplyEndTimePolicy::Id
651
+ end
652
+
653
+
654
+ def end_time()
655
+ raise ::CORBA::NO_IMPLEMENT.new(
656
+ 'unimplemented attribute on local interface',
657
+ 1, ::CORBA::COMPLETED_NO)
658
+ end #of attribute end_time getter
659
+ end #of interface ReplyEndTimePolicy
660
+
661
+ RELATIVE_REQ_TIMEOUT_POLICY_TYPE = 31
662
+
663
+ module RelativeRequestTimeoutPolicy ## interface
664
+
665
+ include CORBA::Policy
666
+
667
+ Id = 'IDL:omg.org/Messaging/RelativeRequestTimeoutPolicy:1.0'.freeze
668
+ Ids = [ Id,
669
+ CORBA::Policy::Id ].freeze
670
+
671
+ def RelativeRequestTimeoutPolicy._tc; @@tc_RelativeRequestTimeoutPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RelativeRequestTimeoutPolicy', self); end
672
+ self._tc # register typecode
673
+
674
+ def RelativeRequestTimeoutPolicy._narrow(obj)
675
+ return nil if CORBA.is_nil(obj)
676
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
677
+ end
678
+
679
+ def RelativeRequestTimeoutPolicy._duplicate(obj)
680
+ obj
681
+ end
682
+
683
+ def _interface_repository_id
684
+ Messaging::RelativeRequestTimeoutPolicy::Id
685
+ end
686
+
687
+
688
+ def relative_expiry()
689
+ raise ::CORBA::NO_IMPLEMENT.new(
690
+ 'unimplemented attribute on local interface',
691
+ 1, ::CORBA::COMPLETED_NO)
692
+ end #of attribute relative_expiry getter
693
+ end #of interface RelativeRequestTimeoutPolicy
694
+
695
+ RELATIVE_RT_TIMEOUT_POLICY_TYPE = 32
696
+
697
+ module RelativeRoundtripTimeoutPolicy ## interface
698
+
699
+ include CORBA::Policy
700
+
701
+ Id = 'IDL:omg.org/Messaging/RelativeRoundtripTimeoutPolicy:1.0'.freeze
702
+ Ids = [ Id,
703
+ CORBA::Policy::Id ].freeze
704
+
705
+ def RelativeRoundtripTimeoutPolicy._tc; @@tc_RelativeRoundtripTimeoutPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RelativeRoundtripTimeoutPolicy', self); end
706
+ self._tc # register typecode
707
+
708
+ def RelativeRoundtripTimeoutPolicy._narrow(obj)
709
+ return nil if CORBA.is_nil(obj)
710
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
711
+ end
712
+
713
+ def RelativeRoundtripTimeoutPolicy._duplicate(obj)
714
+ obj
715
+ end
716
+
717
+ def _interface_repository_id
718
+ Messaging::RelativeRoundtripTimeoutPolicy::Id
719
+ end
720
+
721
+
722
+ def relative_expiry()
723
+ raise ::CORBA::NO_IMPLEMENT.new(
724
+ 'unimplemented attribute on local interface',
725
+ 1, ::CORBA::COMPLETED_NO)
726
+ end #of attribute relative_expiry getter
727
+ end #of interface RelativeRoundtripTimeoutPolicy
728
+
729
+ ROUTING_POLICY_TYPE = 33
730
+
731
+ class RoutingTypeRange < CORBA::Portable::Struct
732
+
733
+ def RoutingTypeRange._tc
734
+ @@tc_RoutingTypeRange ||= CORBA::TypeCode::Struct.new('IDL:omg.org/Messaging/RoutingTypeRange:1.0'.freeze, 'RoutingTypeRange',
735
+ [['min', Messaging::RoutingType._tc],
736
+ ['max', Messaging::RoutingType._tc]], self)
737
+ end
738
+ self._tc # register typecode
739
+ attr_accessor :min
740
+ attr_accessor :max
741
+ def initialize(*param_)
742
+ @min = param_.shift
743
+ @max = param_.shift
744
+ end
745
+
746
+ end #of struct RoutingTypeRange
747
+
748
+ module RoutingPolicy ## interface
749
+
750
+ include CORBA::Policy
751
+
752
+ Id = 'IDL:omg.org/Messaging/RoutingPolicy:1.0'.freeze
753
+ Ids = [ Id,
754
+ CORBA::Policy::Id ].freeze
755
+
756
+ def RoutingPolicy._tc; @@tc_RoutingPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RoutingPolicy', self); end
757
+ self._tc # register typecode
758
+
759
+ def RoutingPolicy._narrow(obj)
760
+ return nil if CORBA.is_nil(obj)
761
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
762
+ end
763
+
764
+ def RoutingPolicy._duplicate(obj)
765
+ obj
766
+ end
767
+
768
+ def _interface_repository_id
769
+ Messaging::RoutingPolicy::Id
770
+ end
771
+
772
+
773
+ def routing_range()
774
+ raise ::CORBA::NO_IMPLEMENT.new(
775
+ 'unimplemented attribute on local interface',
776
+ 1, ::CORBA::COMPLETED_NO)
777
+ end #of attribute routing_range getter
778
+ end #of interface RoutingPolicy
779
+
780
+ MAX_HOPS_POLICY_TYPE = 34
781
+
782
+ module MaxHopsPolicy ## interface
783
+
784
+ include CORBA::Policy
785
+
786
+ Id = 'IDL:omg.org/Messaging/MaxHopsPolicy:1.0'.freeze
787
+ Ids = [ Id,
788
+ CORBA::Policy::Id ].freeze
789
+
790
+ def MaxHopsPolicy._tc; @@tc_MaxHopsPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'MaxHopsPolicy', self); end
791
+ self._tc # register typecode
792
+
793
+ def MaxHopsPolicy._narrow(obj)
794
+ return nil if CORBA.is_nil(obj)
795
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
796
+ end
797
+
798
+ def MaxHopsPolicy._duplicate(obj)
799
+ obj
800
+ end
801
+
802
+ def _interface_repository_id
803
+ Messaging::MaxHopsPolicy::Id
804
+ end
805
+
806
+
807
+ def max_hops()
808
+ raise ::CORBA::NO_IMPLEMENT.new(
809
+ 'unimplemented attribute on local interface',
810
+ 1, ::CORBA::COMPLETED_NO)
811
+ end #of attribute max_hops getter
812
+ end #of interface MaxHopsPolicy
813
+
814
+ QUEUE_ORDER_POLICY_TYPE = 35
815
+
816
+ module QueueOrderPolicy ## interface
817
+
818
+ include CORBA::Policy
819
+
820
+ Id = 'IDL:omg.org/Messaging/QueueOrderPolicy:1.0'.freeze
821
+ Ids = [ Id,
822
+ CORBA::Policy::Id ].freeze
823
+
824
+ def QueueOrderPolicy._tc; @@tc_QueueOrderPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'QueueOrderPolicy', self); end
825
+ self._tc # register typecode
826
+
827
+ def QueueOrderPolicy._narrow(obj)
828
+ return nil if CORBA.is_nil(obj)
829
+ return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
830
+ end
831
+
832
+ def QueueOrderPolicy._duplicate(obj)
833
+ obj
834
+ end
835
+
836
+ def _interface_repository_id
837
+ Messaging::QueueOrderPolicy::Id
838
+ end
839
+
840
+
841
+ def allowed_orders()
842
+ raise ::CORBA::NO_IMPLEMENT.new(
843
+ 'unimplemented attribute on local interface',
844
+ 1, ::CORBA::COMPLETED_NO)
845
+ end #of attribute allowed_orders getter
846
+ end #of interface QueueOrderPolicy
847
+
848
+
849
+ class PolicyValue < CORBA::Portable::Struct
850
+
851
+ def PolicyValue._tc
852
+ @@tc_PolicyValue ||= CORBA::TypeCode::Struct.new('IDL:omg.org/Messaging/PolicyValue:1.0'.freeze, 'PolicyValue',
853
+ [['ptype', CORBA::PolicyType._tc],
854
+ ['pvalue', CORBA::OctetSeq._tc]], self)
855
+ end
856
+ self._tc # register typecode
857
+ attr_accessor :ptype
858
+ attr_accessor :pvalue
859
+ def initialize(*param_)
860
+ @ptype = param_.shift
861
+ @pvalue = param_.shift
862
+ end
863
+
864
+ end #of struct PolicyValue
865
+ class PolicyValueSeq < Array
866
+ def PolicyValueSeq._tc
867
+ @@tc_PolicyValueSeq ||= CORBA::TypeCode::Alias.new('IDL:omg.org/Messaging/PolicyValueSeq:1.0', 'PolicyValueSeq',
868
+ CORBA::TypeCode::Sequence.new(Messaging::PolicyValue._tc), self)
869
+ end
870
+ end # typedef PolicyValueSeq
871
+ TAG_POLICIES = 2
872
+ INVOCATION_POLICIES = 7
873
+
874
+ module ReplyHandler ## interface
875
+
876
+ Id = 'IDL:omg.org/Messaging/ReplyHandler:1.0'.freeze
877
+ Ids = [ Id ].freeze
878
+
879
+ def ReplyHandler._tc; @@tc_ReplyHandler ||= CORBA::TypeCode::ObjectRef.new(Id, 'ReplyHandler', self); end
880
+ self._tc # register typecode
881
+
882
+ def ReplyHandler._narrow(obj)
883
+ return nil if CORBA.is_nil(obj)
884
+ return CORBA::Stub.create_stub(obj)._narrow!(self)
885
+ end
886
+
887
+ def ReplyHandler._duplicate(obj)
888
+ return nil if CORBA.is_nil(obj)
889
+ return CORBA::Stub.create_stub(super(obj))._narrow!(self)
890
+ end
891
+
892
+ def _interface_repository_id
893
+ Messaging::ReplyHandler::Id
894
+ end
895
+
896
+ end #of interface ReplyHandler
897
+
898
+ end #of module Messaging
899
+
900
+ } ## end of 'Messaging.pidl'
901
+ end #of module R2CORBA
902
+
903
+ # -*- END -*-