r2corba 1.4.1-x86-mingw32

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