r2corba 1.4.1-universal-java-1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +159 -0
- data/LICENSE +59 -0
- data/LICENSE.jacorb +660 -0
- data/README +62 -0
- data/THANKS +52 -0
- data/bin/r2corba +8 -0
- data/bin/r2corba.bat +20 -0
- data/bin/ridlc +11 -0
- data/bin/ridlc.bat +23 -0
- data/bin/rins +7 -0
- data/bin/rins.bat +19 -0
- data/jacorb/lib/antlr-2.7.2.jar +0 -0
- data/jacorb/lib/jacorb-services.jar +0 -0
- data/jacorb/lib/jacorb.jar +0 -0
- data/jacorb/lib/slf4j-api-1.6.4.jar +0 -0
- data/jacorb/lib/slf4j-jdk14-1.6.4.jar +0 -0
- data/lib/corba/cbase/IORMap.rb +33 -0
- data/lib/corba/cbase/ORB.rb +231 -0
- data/lib/corba/cbase/Request.rb +134 -0
- data/lib/corba/cbase/Streams.rb +129 -0
- data/lib/corba/cbase/Stub.rb +19 -0
- data/lib/corba/cbase/Typecode.rb +441 -0
- data/lib/corba/cbase/Values.rb +129 -0
- data/lib/corba/cbase/exception.rb +66 -0
- data/lib/corba/cbase/poa.rb +23 -0
- data/lib/corba/cbase/policies.rb +78 -0
- data/lib/corba/cbase/post_require.rb +14 -0
- data/lib/corba/cbase/require.rb +28 -0
- data/lib/corba/cmds/base.rb +85 -0
- data/lib/corba/cmds/test.rb +30 -0
- data/lib/corba/common/Any.rb +91 -0
- data/lib/corba/common/IDL.rb +104 -0
- data/lib/corba/common/ORB.rb +368 -0
- data/lib/corba/common/Object.rb +208 -0
- data/lib/corba/common/Request.rb +20 -0
- data/lib/corba/common/Servant.rb +108 -0
- data/lib/corba/common/Struct.rb +22 -0
- data/lib/corba/common/Stub.rb +79 -0
- data/lib/corba/common/Typecode.rb +1121 -0
- data/lib/corba/common/Union.rb +56 -0
- data/lib/corba/common/Values.rb +92 -0
- data/lib/corba/common/const.rb +22 -0
- data/lib/corba/common/exception.rb +68 -0
- data/lib/corba/common/require.rb +27 -0
- data/lib/corba/common/version.rb +22 -0
- data/lib/corba/idl/BiDirPolicyC.rb +63 -0
- data/lib/corba/idl/CosNamingC.rb +461 -0
- data/lib/corba/idl/CosNamingS.rb +309 -0
- data/lib/corba/idl/IDL.rb +21 -0
- data/lib/corba/idl/IORTable.pidl +62 -0
- data/lib/corba/idl/MessagingC.rb +904 -0
- data/lib/corba/idl/POAC.rb +930 -0
- data/lib/corba/idl/TAO_Ext.pidl +46 -0
- data/lib/corba/idl/r2c_orb.rb +572 -0
- data/lib/corba/idl/require.rb +20 -0
- data/lib/corba/jbase/Any.rb +273 -0
- data/lib/corba/jbase/IORMap.rb +36 -0
- data/lib/corba/jbase/ORB.rb +99 -0
- data/lib/corba/jbase/Object.rb +98 -0
- data/lib/corba/jbase/Request.rb +226 -0
- data/lib/corba/jbase/Servant.rb +247 -0
- data/lib/corba/jbase/ServerRequest.rb +128 -0
- data/lib/corba/jbase/Streams.rb +671 -0
- data/lib/corba/jbase/Stub.rb +38 -0
- data/lib/corba/jbase/Typecode.rb +520 -0
- data/lib/corba/jbase/Values.rb +173 -0
- data/lib/corba/jbase/exception.rb +106 -0
- data/lib/corba/jbase/poa.rb +229 -0
- data/lib/corba/jbase/policies.rb +300 -0
- data/lib/corba/jbase/post_require.rb +14 -0
- data/lib/corba/jbase/require.rb +86 -0
- data/lib/corba/naming.rb +14 -0
- data/lib/corba/naming_service.rb +15 -0
- data/lib/corba/poa.rb +15 -0
- data/lib/corba/policies.rb +18 -0
- data/lib/corba/require.rb +17 -0
- data/lib/corba/svcs/ins/cos_naming.rb +426 -0
- data/lib/corba/svcs/ins/ins.rb +526 -0
- data/lib/corba/svcs/ins/naming_service.rb +119 -0
- data/lib/corba.rb +16 -0
- data/lib/ridlbe/ruby/config.rb +336 -0
- data/lib/ridlbe/ruby/orb.pidlc +0 -0
- data/lib/ridlbe/ruby/require.rb +16 -0
- data/lib/ridlbe/ruby/walker.rb +1582 -0
- data/mkrf_conf_bingem.rb +101 -0
- data/rakelib/bin.rake +80 -0
- data/rakelib/bin.rb +146 -0
- data/rakelib/build.rake +87 -0
- data/rakelib/config.rake +52 -0
- data/rakelib/config.rb +450 -0
- data/rakelib/gem.rake +212 -0
- data/rakelib/gem.rb +146 -0
- data/rakelib/package.rake +26 -0
- data/rakelib/test.rake +23 -0
- data/test/BiDirectional/Test.idl +34 -0
- data/test/BiDirectional/client.rb +132 -0
- data/test/BiDirectional/run_test.rb +68 -0
- data/test/BiDirectional/server.ior +1 -0
- data/test/BiDirectional/server.rb +169 -0
- data/test/CORBA_Services/Naming/BindingIterator/Test.idl +27 -0
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +121 -0
- data/test/CORBA_Services/Naming/BindingIterator/ins.ior +1 -0
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +109 -0
- data/test/CORBA_Services/Naming/Corbaname/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Corbaname/client.rb +85 -0
- data/test/CORBA_Services/Naming/Corbaname/corbaname.ior +1 -0
- data/test/CORBA_Services/Naming/Corbaname/ins.ior +1 -0
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +88 -0
- data/test/CORBA_Services/Naming/Corbaname/server.rb +135 -0
- data/test/CORBA_Services/Naming/Simple/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Simple/client.rb +84 -0
- data/test/CORBA_Services/Naming/Simple/ins.ior +1 -0
- data/test/CORBA_Services/Naming/Simple/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/Simple/server.rb +109 -0
- data/test/Collocation/Diamond.idl +39 -0
- data/test/Collocation/run_test.rb +52 -0
- data/test/Collocation/test.rb +195 -0
- data/test/Connect_Timeout/Test.idl +27 -0
- data/test/Connect_Timeout/client.rb +111 -0
- data/test/Connect_Timeout/run_test.rb +52 -0
- data/test/DII/Test.idl +27 -0
- data/test/DII/client.rb +115 -0
- data/test/DII/run_test.rb +69 -0
- data/test/DII/server.ior +1 -0
- data/test/DII/server.rb +95 -0
- data/test/DSI/Test.idl +27 -0
- data/test/DSI/client.rb +66 -0
- data/test/DSI/run_test.rb +69 -0
- data/test/DSI/server.ior +1 -0
- data/test/DSI/server.rb +106 -0
- data/test/Exceptions/Test.idl +48 -0
- data/test/Exceptions/client.rb +118 -0
- data/test/Exceptions/run_test.rb +69 -0
- data/test/Exceptions/server.ior +1 -0
- data/test/Exceptions/server.rb +131 -0
- data/test/Hello/Test.idl +27 -0
- data/test/Hello/client.rb +78 -0
- data/test/Hello/run_test.rb +71 -0
- data/test/Hello/server.rb +95 -0
- data/test/IDL_Test/Test.idl +113 -0
- data/test/IDL_Test/Test_inc.idl +17 -0
- data/test/IDL_Test/client.rb +102 -0
- data/test/IDL_Test/run_test.rb +69 -0
- data/test/IDL_Test/server.ior +1 -0
- data/test/IDL_Test/server.rb +99 -0
- data/test/IORMap/Test.idl +27 -0
- data/test/IORMap/client.rb +73 -0
- data/test/IORMap/run_test.rb +69 -0
- data/test/IORMap/server.ior +1 -0
- data/test/IORMap/server.rb +114 -0
- data/test/IORTable/Test.idl +27 -0
- data/test/IORTable/client.rb +75 -0
- data/test/IORTable/run_test.rb +69 -0
- data/test/IORTable/server.ior +0 -0
- data/test/IORTable/server.rb +130 -0
- data/test/Implicit_Conversion/Test.idl +31 -0
- data/test/Implicit_Conversion/client.rb +110 -0
- data/test/Implicit_Conversion/run_test.rb +69 -0
- data/test/Implicit_Conversion/server.ior +1 -0
- data/test/Implicit_Conversion/server.rb +99 -0
- data/test/Multi_Threading/Multiple_ORB/Test.idl +27 -0
- data/test/Multi_Threading/Multiple_ORB/client.rb +82 -0
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +71 -0
- data/test/Multi_Threading/Multiple_ORB/server.rb +108 -0
- data/test/Multi_Threading/Multiple_ORB/server0.ior +1 -0
- data/test/Multi_Threading/Multiple_ORB/server1.ior +1 -0
- data/test/Multi_Threading/Simple/Test.idl +27 -0
- data/test/Multi_Threading/Simple/client.rb +88 -0
- data/test/Multi_Threading/Simple/run_test.rb +69 -0
- data/test/Multi_Threading/Simple/server.ior +1 -0
- data/test/Multi_Threading/Simple/server.rb +118 -0
- data/test/Multi_Threading/Threads/Test.idl +31 -0
- data/test/Multi_Threading/Threads/client.rb +80 -0
- data/test/Multi_Threading/Threads/run_test.rb +76 -0
- data/test/Multi_Threading/Threads/server.ior +1 -0
- data/test/Multi_Threading/Threads/server.rb +119 -0
- data/test/Multi_Threading/Threads/watchdog.ior +1 -0
- data/test/Multi_Threading/Threads/watchdog.rb +87 -0
- data/test/Multiple_Servant_Interfaces/Test.idl +34 -0
- data/test/Multiple_Servant_Interfaces/client.rb +70 -0
- data/test/Multiple_Servant_Interfaces/run_test.rb +69 -0
- data/test/Multiple_Servant_Interfaces/server.ior +1 -0
- data/test/Multiple_Servant_Interfaces/server.rb +102 -0
- data/test/Nil/Test.idl +27 -0
- data/test/Nil/run_test.rb +52 -0
- data/test/Nil/test.rb +78 -0
- data/test/OBV/AbstractInterface/client.rb +179 -0
- data/test/OBV/AbstractInterface/run_test.rb +69 -0
- data/test/OBV/AbstractInterface/server.ior +1 -0
- data/test/OBV/AbstractInterface/server.rb +149 -0
- data/test/OBV/AbstractInterface/test.idl +53 -0
- data/test/OBV/Custom/OBV.idl +18 -0
- data/test/OBV/Custom/OBV_impl.rb +40 -0
- data/test/OBV/Custom/client.rb +86 -0
- data/test/OBV/Custom/run_test.rb +69 -0
- data/test/OBV/Custom/server.ior +1 -0
- data/test/OBV/Custom/server.rb +100 -0
- data/test/OBV/Simple/OBV.idl +15 -0
- data/test/OBV/Simple/OBV_impl.rb +26 -0
- data/test/OBV/Simple/client.rb +86 -0
- data/test/OBV/Simple/run_test.rb +69 -0
- data/test/OBV/Simple/server.ior +1 -0
- data/test/OBV/Simple/server.rb +100 -0
- data/test/OBV/Simple_Event/Event.idl +15 -0
- data/test/OBV/Simple_Event/Event_impl.rb +26 -0
- data/test/OBV/Simple_Event/client.rb +86 -0
- data/test/OBV/Simple_Event/run_test.rb +69 -0
- data/test/OBV/Simple_Event/server.ior +1 -0
- data/test/OBV/Simple_Event/server.rb +100 -0
- data/test/OBV/Supports/client.rb +116 -0
- data/test/OBV/Supports/run_test.rb +69 -0
- data/test/OBV/Supports/server.ior +1 -0
- data/test/OBV/Supports/server.rb +103 -0
- data/test/OBV/Supports/supports.idl +33 -0
- data/test/OBV/Supports/supports_impl.rb +57 -0
- data/test/OBV/Tree/client.rb +116 -0
- data/test/OBV/Tree/run_test.rb +69 -0
- data/test/OBV/Tree/server.ior +1 -0
- data/test/OBV/Tree/server.rb +117 -0
- data/test/OBV/Tree/test.idl +32 -0
- data/test/OBV/Truncatable/Extra.idl +27 -0
- data/test/OBV/Truncatable/Truncatable.idl +105 -0
- data/test/OBV/Truncatable/Truncatable_impl.rb +86 -0
- data/test/OBV/Truncatable/client.rb +279 -0
- data/test/OBV/Truncatable/run_test.rb +69 -0
- data/test/OBV/Truncatable/server.ior +1 -0
- data/test/OBV/Truncatable/server.rb +89 -0
- data/test/OBV/ValueBox/client.rb +497 -0
- data/test/OBV/ValueBox/run_test.rb +69 -0
- data/test/OBV/ValueBox/server.ior +1 -0
- data/test/OBV/ValueBox/server.rb +271 -0
- data/test/OBV/ValueBox/valuebox.idl +101 -0
- data/test/OBV/ValueBox/vb_basic.idl +75 -0
- data/test/OBV/ValueBox/vb_struct.idl +68 -0
- data/test/OBV/ValueBox/vb_union.idl +21 -0
- data/test/Object/Test.idl +27 -0
- data/test/Object/client.rb +103 -0
- data/test/Object/run_test.rb +69 -0
- data/test/Object/server.ior +1 -0
- data/test/Object/server.rb +126 -0
- data/test/POA/Test.idl +27 -0
- data/test/POA/run_test.rb +52 -0
- data/test/POA/test.rb +112 -0
- data/test/Param_Test/Test.idl +182 -0
- data/test/Param_Test/client.rb +277 -0
- data/test/Param_Test/run_test.rb +69 -0
- data/test/Param_Test/server.ior +1 -0
- data/test/Param_Test/server.rb +296 -0
- data/test/Performance/Simple/Test.idl +27 -0
- data/test/Performance/Simple/client.rb +90 -0
- data/test/Performance/Simple/run_test.rb +69 -0
- data/test/Performance/Simple/server.ior +1 -0
- data/test/Performance/Simple/server.rb +95 -0
- data/test/Policies/Test.idl +27 -0
- data/test/Policies/run_test.rb +52 -0
- data/test/Policies/test.rb +144 -0
- data/test/Timeout/client.rb +207 -0
- data/test/Timeout/run_test.rb +69 -0
- data/test/Timeout/server.ior +1 -0
- data/test/Timeout/server.rb +109 -0
- data/test/Timeout/test.idl +19 -0
- data/test/lib/assert.rb +43 -0
- data/test/lib/test.rb +542 -0
- data/test/test_runner.rb +193 -0
- metadata +352 -0
@@ -0,0 +1,930 @@
|
|
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('PortableServer.pidl', {}, CORBA::IDL::CLIENT_STUB) {
|
14
|
+
|
15
|
+
module PortableServer
|
16
|
+
|
17
|
+
module POA; end ## interface forward
|
18
|
+
class POAList < Array
|
19
|
+
def POAList._tc
|
20
|
+
@@tc_POAList ||= CORBA::TypeCode::Alias.new('IDL:omg.org/PortableServer/POAList:1.0', 'POAList',
|
21
|
+
CORBA::TypeCode::Sequence.new((CORBA::TypeCode.typecode_for_id('IDL:omg.org/PortableServer/POA:1.0') || CORBA::TypeCode::ObjectRef.new('IDL:omg.org/PortableServer/POA:1.0', 'POA', PortableServer::POA))), self)
|
22
|
+
end
|
23
|
+
end # typedef POAList
|
24
|
+
class Servant; end ## 'native' type
|
25
|
+
class ObjectId < CORBA::OctetSeq
|
26
|
+
def ObjectId._tc; @@tc_ObjectId ||= CORBA::TypeCode::Alias.new('IDL:omg.org/PortableServer/ObjectId:1.0', 'ObjectId',CORBA::OctetSeq._tc, self); end
|
27
|
+
end # typedef ObjectId
|
28
|
+
|
29
|
+
class ForwardRequest < CORBA::UserException
|
30
|
+
|
31
|
+
def ForwardRequest._tc
|
32
|
+
@@tc_ForwardRequest ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/ForwardRequest:1.0'.freeze, 'ForwardRequest',
|
33
|
+
[['forward_reference', CORBA._tc_Object]], self)
|
34
|
+
end
|
35
|
+
self._tc # register typecode
|
36
|
+
attr_accessor :forward_reference
|
37
|
+
def initialize(*param_)
|
38
|
+
@forward_reference = param_.shift
|
39
|
+
end
|
40
|
+
|
41
|
+
end #of exception ForwardRequest
|
42
|
+
THREAD_POLICY_ID = 16
|
43
|
+
LIFESPAN_POLICY_ID = 17
|
44
|
+
ID_UNIQUENESS_POLICY_ID = 18
|
45
|
+
ID_ASSIGNMENT_POLICY_ID = 19
|
46
|
+
IMPLICIT_ACTIVATION_POLICY_ID = 20
|
47
|
+
SERVANT_RETENTION_POLICY_ID = 21
|
48
|
+
REQUEST_PROCESSING_POLICY_ID = 22
|
49
|
+
class ThreadPolicyValue < ::Fixnum
|
50
|
+
def ThreadPolicyValue._tc
|
51
|
+
@@tc_ThreadPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/ThreadPolicyValue:1.0'.freeze, 'ThreadPolicyValue', [
|
52
|
+
'ORB_CTRL_MODEL',
|
53
|
+
'SINGLE_THREAD_MODEL',
|
54
|
+
'MAIN_THREAD_MODEL'])
|
55
|
+
end
|
56
|
+
self._tc # register typecode
|
57
|
+
end # enum ThreadPolicyValue
|
58
|
+
ORB_CTRL_MODEL = 0
|
59
|
+
SINGLE_THREAD_MODEL = 1
|
60
|
+
MAIN_THREAD_MODEL = 2
|
61
|
+
|
62
|
+
module ThreadPolicy ## interface
|
63
|
+
|
64
|
+
include CORBA::Policy
|
65
|
+
|
66
|
+
Id = 'IDL:omg.org/PortableServer/ThreadPolicy:1.0'.freeze
|
67
|
+
Ids = [ Id,
|
68
|
+
CORBA::Policy::Id ].freeze
|
69
|
+
|
70
|
+
def ThreadPolicy._tc; @@tc_ThreadPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ThreadPolicy', self); end
|
71
|
+
self._tc # register typecode
|
72
|
+
|
73
|
+
def ThreadPolicy._narrow(obj)
|
74
|
+
return nil if CORBA.is_nil(obj)
|
75
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
76
|
+
end
|
77
|
+
|
78
|
+
def ThreadPolicy._duplicate(obj)
|
79
|
+
obj
|
80
|
+
end
|
81
|
+
|
82
|
+
def _interface_repository_id
|
83
|
+
PortableServer::ThreadPolicy::Id
|
84
|
+
end
|
85
|
+
|
86
|
+
|
87
|
+
def value()
|
88
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
89
|
+
'unimplemented attribute on local interface',
|
90
|
+
1, ::CORBA::COMPLETED_NO)
|
91
|
+
end #of attribute value getter
|
92
|
+
end #of interface ThreadPolicy
|
93
|
+
|
94
|
+
class LifespanPolicyValue < ::Fixnum
|
95
|
+
def LifespanPolicyValue._tc
|
96
|
+
@@tc_LifespanPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/LifespanPolicyValue:1.0'.freeze, 'LifespanPolicyValue', [
|
97
|
+
'TRANSIENT',
|
98
|
+
'PERSISTENT'])
|
99
|
+
end
|
100
|
+
self._tc # register typecode
|
101
|
+
end # enum LifespanPolicyValue
|
102
|
+
TRANSIENT = 0
|
103
|
+
PERSISTENT = 1
|
104
|
+
|
105
|
+
module LifespanPolicy ## interface
|
106
|
+
|
107
|
+
include CORBA::Policy
|
108
|
+
|
109
|
+
Id = 'IDL:omg.org/PortableServer/LifespanPolicy:1.0'.freeze
|
110
|
+
Ids = [ Id,
|
111
|
+
CORBA::Policy::Id ].freeze
|
112
|
+
|
113
|
+
def LifespanPolicy._tc; @@tc_LifespanPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'LifespanPolicy', self); end
|
114
|
+
self._tc # register typecode
|
115
|
+
|
116
|
+
def LifespanPolicy._narrow(obj)
|
117
|
+
return nil if CORBA.is_nil(obj)
|
118
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
119
|
+
end
|
120
|
+
|
121
|
+
def LifespanPolicy._duplicate(obj)
|
122
|
+
obj
|
123
|
+
end
|
124
|
+
|
125
|
+
def _interface_repository_id
|
126
|
+
PortableServer::LifespanPolicy::Id
|
127
|
+
end
|
128
|
+
|
129
|
+
|
130
|
+
def value()
|
131
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
132
|
+
'unimplemented attribute on local interface',
|
133
|
+
1, ::CORBA::COMPLETED_NO)
|
134
|
+
end #of attribute value getter
|
135
|
+
end #of interface LifespanPolicy
|
136
|
+
|
137
|
+
class IdUniquenessPolicyValue < ::Fixnum
|
138
|
+
def IdUniquenessPolicyValue._tc
|
139
|
+
@@tc_IdUniquenessPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/IdUniquenessPolicyValue:1.0'.freeze, 'IdUniquenessPolicyValue', [
|
140
|
+
'UNIQUE_ID',
|
141
|
+
'MULTIPLE_ID'])
|
142
|
+
end
|
143
|
+
self._tc # register typecode
|
144
|
+
end # enum IdUniquenessPolicyValue
|
145
|
+
UNIQUE_ID = 0
|
146
|
+
MULTIPLE_ID = 1
|
147
|
+
|
148
|
+
module IdUniquenessPolicy ## interface
|
149
|
+
|
150
|
+
include CORBA::Policy
|
151
|
+
|
152
|
+
Id = 'IDL:omg.org/PortableServer/IdUniquenessPolicy:1.0'.freeze
|
153
|
+
Ids = [ Id,
|
154
|
+
CORBA::Policy::Id ].freeze
|
155
|
+
|
156
|
+
def IdUniquenessPolicy._tc; @@tc_IdUniquenessPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'IdUniquenessPolicy', self); end
|
157
|
+
self._tc # register typecode
|
158
|
+
|
159
|
+
def IdUniquenessPolicy._narrow(obj)
|
160
|
+
return nil if CORBA.is_nil(obj)
|
161
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
162
|
+
end
|
163
|
+
|
164
|
+
def IdUniquenessPolicy._duplicate(obj)
|
165
|
+
obj
|
166
|
+
end
|
167
|
+
|
168
|
+
def _interface_repository_id
|
169
|
+
PortableServer::IdUniquenessPolicy::Id
|
170
|
+
end
|
171
|
+
|
172
|
+
|
173
|
+
def value()
|
174
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
175
|
+
'unimplemented attribute on local interface',
|
176
|
+
1, ::CORBA::COMPLETED_NO)
|
177
|
+
end #of attribute value getter
|
178
|
+
end #of interface IdUniquenessPolicy
|
179
|
+
|
180
|
+
class IdAssignmentPolicyValue < ::Fixnum
|
181
|
+
def IdAssignmentPolicyValue._tc
|
182
|
+
@@tc_IdAssignmentPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/IdAssignmentPolicyValue:1.0'.freeze, 'IdAssignmentPolicyValue', [
|
183
|
+
'USER_ID',
|
184
|
+
'SYSTEM_ID'])
|
185
|
+
end
|
186
|
+
self._tc # register typecode
|
187
|
+
end # enum IdAssignmentPolicyValue
|
188
|
+
USER_ID = 0
|
189
|
+
SYSTEM_ID = 1
|
190
|
+
|
191
|
+
module IdAssignmentPolicy ## interface
|
192
|
+
|
193
|
+
include CORBA::Policy
|
194
|
+
|
195
|
+
Id = 'IDL:omg.org/PortableServer/IdAssignmentPolicy:1.0'.freeze
|
196
|
+
Ids = [ Id,
|
197
|
+
CORBA::Policy::Id ].freeze
|
198
|
+
|
199
|
+
def IdAssignmentPolicy._tc; @@tc_IdAssignmentPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'IdAssignmentPolicy', self); end
|
200
|
+
self._tc # register typecode
|
201
|
+
|
202
|
+
def IdAssignmentPolicy._narrow(obj)
|
203
|
+
return nil if CORBA.is_nil(obj)
|
204
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
205
|
+
end
|
206
|
+
|
207
|
+
def IdAssignmentPolicy._duplicate(obj)
|
208
|
+
obj
|
209
|
+
end
|
210
|
+
|
211
|
+
def _interface_repository_id
|
212
|
+
PortableServer::IdAssignmentPolicy::Id
|
213
|
+
end
|
214
|
+
|
215
|
+
|
216
|
+
def value()
|
217
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
218
|
+
'unimplemented attribute on local interface',
|
219
|
+
1, ::CORBA::COMPLETED_NO)
|
220
|
+
end #of attribute value getter
|
221
|
+
end #of interface IdAssignmentPolicy
|
222
|
+
|
223
|
+
class ImplicitActivationPolicyValue < ::Fixnum
|
224
|
+
def ImplicitActivationPolicyValue._tc
|
225
|
+
@@tc_ImplicitActivationPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/ImplicitActivationPolicyValue:1.0'.freeze, 'ImplicitActivationPolicyValue', [
|
226
|
+
'IMPLICIT_ACTIVATION',
|
227
|
+
'NO_IMPLICIT_ACTIVATION'])
|
228
|
+
end
|
229
|
+
self._tc # register typecode
|
230
|
+
end # enum ImplicitActivationPolicyValue
|
231
|
+
IMPLICIT_ACTIVATION = 0
|
232
|
+
NO_IMPLICIT_ACTIVATION = 1
|
233
|
+
|
234
|
+
module ImplicitActivationPolicy ## interface
|
235
|
+
|
236
|
+
include CORBA::Policy
|
237
|
+
|
238
|
+
Id = 'IDL:omg.org/PortableServer/ImplicitActivationPolicy:1.0'.freeze
|
239
|
+
Ids = [ Id,
|
240
|
+
CORBA::Policy::Id ].freeze
|
241
|
+
|
242
|
+
def ImplicitActivationPolicy._tc; @@tc_ImplicitActivationPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ImplicitActivationPolicy', self); end
|
243
|
+
self._tc # register typecode
|
244
|
+
|
245
|
+
def ImplicitActivationPolicy._narrow(obj)
|
246
|
+
return nil if CORBA.is_nil(obj)
|
247
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
248
|
+
end
|
249
|
+
|
250
|
+
def ImplicitActivationPolicy._duplicate(obj)
|
251
|
+
obj
|
252
|
+
end
|
253
|
+
|
254
|
+
def _interface_repository_id
|
255
|
+
PortableServer::ImplicitActivationPolicy::Id
|
256
|
+
end
|
257
|
+
|
258
|
+
|
259
|
+
def value()
|
260
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
261
|
+
'unimplemented attribute on local interface',
|
262
|
+
1, ::CORBA::COMPLETED_NO)
|
263
|
+
end #of attribute value getter
|
264
|
+
end #of interface ImplicitActivationPolicy
|
265
|
+
|
266
|
+
class ServantRetentionPolicyValue < ::Fixnum
|
267
|
+
def ServantRetentionPolicyValue._tc
|
268
|
+
@@tc_ServantRetentionPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/ServantRetentionPolicyValue:1.0'.freeze, 'ServantRetentionPolicyValue', [
|
269
|
+
'RETAIN',
|
270
|
+
'NON_RETAIN'])
|
271
|
+
end
|
272
|
+
self._tc # register typecode
|
273
|
+
end # enum ServantRetentionPolicyValue
|
274
|
+
RETAIN = 0
|
275
|
+
NON_RETAIN = 1
|
276
|
+
|
277
|
+
module ServantRetentionPolicy ## interface
|
278
|
+
|
279
|
+
include CORBA::Policy
|
280
|
+
|
281
|
+
Id = 'IDL:omg.org/PortableServer/ServantRetentionPolicy:1.0'.freeze
|
282
|
+
Ids = [ Id,
|
283
|
+
CORBA::Policy::Id ].freeze
|
284
|
+
|
285
|
+
def ServantRetentionPolicy._tc; @@tc_ServantRetentionPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'ServantRetentionPolicy', self); end
|
286
|
+
self._tc # register typecode
|
287
|
+
|
288
|
+
def ServantRetentionPolicy._narrow(obj)
|
289
|
+
return nil if CORBA.is_nil(obj)
|
290
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
291
|
+
end
|
292
|
+
|
293
|
+
def ServantRetentionPolicy._duplicate(obj)
|
294
|
+
obj
|
295
|
+
end
|
296
|
+
|
297
|
+
def _interface_repository_id
|
298
|
+
PortableServer::ServantRetentionPolicy::Id
|
299
|
+
end
|
300
|
+
|
301
|
+
|
302
|
+
def value()
|
303
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
304
|
+
'unimplemented attribute on local interface',
|
305
|
+
1, ::CORBA::COMPLETED_NO)
|
306
|
+
end #of attribute value getter
|
307
|
+
end #of interface ServantRetentionPolicy
|
308
|
+
|
309
|
+
class RequestProcessingPolicyValue < ::Fixnum
|
310
|
+
def RequestProcessingPolicyValue._tc
|
311
|
+
@@tc_RequestProcessingPolicyValue ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/RequestProcessingPolicyValue:1.0'.freeze, 'RequestProcessingPolicyValue', [
|
312
|
+
'USE_ACTIVE_OBJECT_MAP_ONLY',
|
313
|
+
'USE_DEFAULT_SERVANT',
|
314
|
+
'USE_SERVANT_MANAGER'])
|
315
|
+
end
|
316
|
+
self._tc # register typecode
|
317
|
+
end # enum RequestProcessingPolicyValue
|
318
|
+
USE_ACTIVE_OBJECT_MAP_ONLY = 0
|
319
|
+
USE_DEFAULT_SERVANT = 1
|
320
|
+
USE_SERVANT_MANAGER = 2
|
321
|
+
|
322
|
+
module RequestProcessingPolicy ## interface
|
323
|
+
|
324
|
+
include CORBA::Policy
|
325
|
+
|
326
|
+
Id = 'IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0'.freeze
|
327
|
+
Ids = [ Id,
|
328
|
+
CORBA::Policy::Id ].freeze
|
329
|
+
|
330
|
+
def RequestProcessingPolicy._tc; @@tc_RequestProcessingPolicy ||= CORBA::TypeCode::ObjectRef.new(Id, 'RequestProcessingPolicy', self); end
|
331
|
+
self._tc # register typecode
|
332
|
+
|
333
|
+
def RequestProcessingPolicy._narrow(obj)
|
334
|
+
return nil if CORBA.is_nil(obj)
|
335
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
336
|
+
end
|
337
|
+
|
338
|
+
def RequestProcessingPolicy._duplicate(obj)
|
339
|
+
obj
|
340
|
+
end
|
341
|
+
|
342
|
+
def _interface_repository_id
|
343
|
+
PortableServer::RequestProcessingPolicy::Id
|
344
|
+
end
|
345
|
+
|
346
|
+
|
347
|
+
def value()
|
348
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
349
|
+
'unimplemented attribute on local interface',
|
350
|
+
1, ::CORBA::COMPLETED_NO)
|
351
|
+
end #of attribute value getter
|
352
|
+
end #of interface RequestProcessingPolicy
|
353
|
+
|
354
|
+
|
355
|
+
module POAManager ## interface
|
356
|
+
|
357
|
+
Id = 'IDL:omg.org/PortableServer/POAManager:1.0'.freeze
|
358
|
+
Ids = [ Id ].freeze
|
359
|
+
|
360
|
+
def POAManager._tc; @@tc_POAManager ||= CORBA::TypeCode::ObjectRef.new(Id, 'POAManager', self); end
|
361
|
+
self._tc # register typecode
|
362
|
+
|
363
|
+
def POAManager._narrow(obj)
|
364
|
+
return nil if CORBA.is_nil(obj)
|
365
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
366
|
+
end
|
367
|
+
|
368
|
+
def POAManager._duplicate(obj)
|
369
|
+
obj
|
370
|
+
end
|
371
|
+
|
372
|
+
def _interface_repository_id
|
373
|
+
PortableServer::POAManager::Id
|
374
|
+
end
|
375
|
+
|
376
|
+
|
377
|
+
class AdapterInactive < CORBA::UserException
|
378
|
+
|
379
|
+
def AdapterInactive._tc
|
380
|
+
@@tc_AdapterInactive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POAManager/AdapterInactive:1.0'.freeze, 'AdapterInactive', self)
|
381
|
+
end
|
382
|
+
self._tc # register typecode
|
383
|
+
end #of exception AdapterInactive
|
384
|
+
class State < ::Fixnum
|
385
|
+
def State._tc
|
386
|
+
@@tc_State ||= CORBA::TypeCode::Enum.new('IDL:omg.org/PortableServer/POAManager/State:1.0'.freeze, 'State', [
|
387
|
+
'HOLDING',
|
388
|
+
'ACTIVE',
|
389
|
+
'DISCARDING',
|
390
|
+
'INACTIVE'])
|
391
|
+
end
|
392
|
+
self._tc # register typecode
|
393
|
+
end # enum State
|
394
|
+
HOLDING = 0
|
395
|
+
ACTIVE = 1
|
396
|
+
DISCARDING = 2
|
397
|
+
INACTIVE = 3
|
398
|
+
|
399
|
+
def activate()
|
400
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
401
|
+
'unimplemented operation on local interface',
|
402
|
+
1, ::CORBA::COMPLETED_NO)
|
403
|
+
end #of operation activate
|
404
|
+
|
405
|
+
def hold_requests(wait_for_completion)
|
406
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
407
|
+
'unimplemented operation on local interface',
|
408
|
+
1, ::CORBA::COMPLETED_NO)
|
409
|
+
end #of operation hold_requests
|
410
|
+
|
411
|
+
def discard_requests(wait_for_completion)
|
412
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
413
|
+
'unimplemented operation on local interface',
|
414
|
+
1, ::CORBA::COMPLETED_NO)
|
415
|
+
end #of operation discard_requests
|
416
|
+
|
417
|
+
def deactivate(etherealize_objects, wait_for_completion)
|
418
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
419
|
+
'unimplemented operation on local interface',
|
420
|
+
1, ::CORBA::COMPLETED_NO)
|
421
|
+
end #of operation deactivate
|
422
|
+
|
423
|
+
def get_state()
|
424
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
425
|
+
'unimplemented operation on local interface',
|
426
|
+
1, ::CORBA::COMPLETED_NO)
|
427
|
+
end #of operation get_state
|
428
|
+
end #of interface POAManager
|
429
|
+
|
430
|
+
|
431
|
+
module AdapterActivator ## interface
|
432
|
+
|
433
|
+
Id = 'IDL:omg.org/PortableServer/AdapterActivator:1.0'.freeze
|
434
|
+
Ids = [ Id ].freeze
|
435
|
+
|
436
|
+
def AdapterActivator._tc; @@tc_AdapterActivator ||= CORBA::TypeCode::ObjectRef.new(Id, 'AdapterActivator', self); end
|
437
|
+
self._tc # register typecode
|
438
|
+
|
439
|
+
def AdapterActivator._narrow(obj)
|
440
|
+
return nil if CORBA.is_nil(obj)
|
441
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
442
|
+
end
|
443
|
+
|
444
|
+
def AdapterActivator._duplicate(obj)
|
445
|
+
obj
|
446
|
+
end
|
447
|
+
|
448
|
+
def _interface_repository_id
|
449
|
+
PortableServer::AdapterActivator::Id
|
450
|
+
end
|
451
|
+
|
452
|
+
|
453
|
+
def unknown_adapter(parent, name)
|
454
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
455
|
+
'unimplemented operation on local interface',
|
456
|
+
1, ::CORBA::COMPLETED_NO)
|
457
|
+
end #of operation unknown_adapter
|
458
|
+
end #of interface AdapterActivator
|
459
|
+
|
460
|
+
|
461
|
+
module ServantManager ## interface
|
462
|
+
|
463
|
+
Id = 'IDL:omg.org/PortableServer/ServantManager:1.0'.freeze
|
464
|
+
Ids = [ Id ].freeze
|
465
|
+
|
466
|
+
def ServantManager._tc; @@tc_ServantManager ||= CORBA::TypeCode::ObjectRef.new(Id, 'ServantManager', self); end
|
467
|
+
self._tc # register typecode
|
468
|
+
|
469
|
+
def ServantManager._narrow(obj)
|
470
|
+
return nil if CORBA.is_nil(obj)
|
471
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
472
|
+
end
|
473
|
+
|
474
|
+
def ServantManager._duplicate(obj)
|
475
|
+
obj
|
476
|
+
end
|
477
|
+
|
478
|
+
def _interface_repository_id
|
479
|
+
PortableServer::ServantManager::Id
|
480
|
+
end
|
481
|
+
|
482
|
+
end #of interface ServantManager
|
483
|
+
|
484
|
+
|
485
|
+
module ServantActivator ## interface
|
486
|
+
|
487
|
+
include PortableServer::ServantManager
|
488
|
+
|
489
|
+
Id = 'IDL:omg.org/PortableServer/ServantActivator:1.0'.freeze
|
490
|
+
Ids = [ Id,
|
491
|
+
PortableServer::ServantManager::Id ].freeze
|
492
|
+
|
493
|
+
def ServantActivator._tc; @@tc_ServantActivator ||= CORBA::TypeCode::ObjectRef.new(Id, 'ServantActivator', self); end
|
494
|
+
self._tc # register typecode
|
495
|
+
|
496
|
+
def ServantActivator._narrow(obj)
|
497
|
+
return nil if CORBA.is_nil(obj)
|
498
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
499
|
+
end
|
500
|
+
|
501
|
+
def ServantActivator._duplicate(obj)
|
502
|
+
obj
|
503
|
+
end
|
504
|
+
|
505
|
+
def _interface_repository_id
|
506
|
+
PortableServer::ServantActivator::Id
|
507
|
+
end
|
508
|
+
|
509
|
+
|
510
|
+
def incarnate(oid, adapter)
|
511
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
512
|
+
'unimplemented operation on local interface',
|
513
|
+
1, ::CORBA::COMPLETED_NO)
|
514
|
+
end #of operation incarnate
|
515
|
+
|
516
|
+
def etherealize(oid, adapter, serv, cleanup_in_progress, remaining_activations)
|
517
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
518
|
+
'unimplemented operation on local interface',
|
519
|
+
1, ::CORBA::COMPLETED_NO)
|
520
|
+
end #of operation etherealize
|
521
|
+
end #of interface ServantActivator
|
522
|
+
|
523
|
+
|
524
|
+
module ServantLocator ## interface
|
525
|
+
|
526
|
+
include PortableServer::ServantManager
|
527
|
+
|
528
|
+
Id = 'IDL:omg.org/PortableServer/ServantLocator:1.0'.freeze
|
529
|
+
Ids = [ Id,
|
530
|
+
PortableServer::ServantManager::Id ].freeze
|
531
|
+
|
532
|
+
def ServantLocator._tc; @@tc_ServantLocator ||= CORBA::TypeCode::ObjectRef.new(Id, 'ServantLocator', self); end
|
533
|
+
self._tc # register typecode
|
534
|
+
|
535
|
+
def ServantLocator._narrow(obj)
|
536
|
+
return nil if CORBA.is_nil(obj)
|
537
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
538
|
+
end
|
539
|
+
|
540
|
+
def ServantLocator._duplicate(obj)
|
541
|
+
obj
|
542
|
+
end
|
543
|
+
|
544
|
+
def _interface_repository_id
|
545
|
+
PortableServer::ServantLocator::Id
|
546
|
+
end
|
547
|
+
|
548
|
+
class Cookie; end ## 'native' type
|
549
|
+
|
550
|
+
def preinvoke(oid, adapter, operation)
|
551
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
552
|
+
'unimplemented operation on local interface',
|
553
|
+
1, ::CORBA::COMPLETED_NO)
|
554
|
+
end #of operation preinvoke
|
555
|
+
|
556
|
+
def postinvoke(oid, adapter, operation, the_cookie, the_servant)
|
557
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
558
|
+
'unimplemented operation on local interface',
|
559
|
+
1, ::CORBA::COMPLETED_NO)
|
560
|
+
end #of operation postinvoke
|
561
|
+
end #of interface ServantLocator
|
562
|
+
|
563
|
+
|
564
|
+
module POA ## interface
|
565
|
+
|
566
|
+
Id = 'IDL:omg.org/PortableServer/POA:1.0'.freeze
|
567
|
+
Ids = [ Id ].freeze
|
568
|
+
|
569
|
+
def POA._tc; @@tc_POA ||= CORBA::TypeCode::ObjectRef.new(Id, 'POA', self); end
|
570
|
+
self._tc # register typecode
|
571
|
+
|
572
|
+
def POA._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 POA._duplicate(obj)
|
578
|
+
obj
|
579
|
+
end
|
580
|
+
|
581
|
+
def _interface_repository_id
|
582
|
+
PortableServer::POA::Id
|
583
|
+
end
|
584
|
+
|
585
|
+
|
586
|
+
class AdapterAlreadyExists < CORBA::UserException
|
587
|
+
|
588
|
+
def AdapterAlreadyExists._tc
|
589
|
+
@@tc_AdapterAlreadyExists ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/AdapterAlreadyExists:1.0'.freeze, 'AdapterAlreadyExists', self)
|
590
|
+
end
|
591
|
+
self._tc # register typecode
|
592
|
+
end #of exception AdapterAlreadyExists
|
593
|
+
|
594
|
+
class AdapterInactive < CORBA::UserException
|
595
|
+
|
596
|
+
def AdapterInactive._tc
|
597
|
+
@@tc_AdapterInactive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/AdapterInactive:1.0'.freeze, 'AdapterInactive', self)
|
598
|
+
end
|
599
|
+
self._tc # register typecode
|
600
|
+
end #of exception AdapterInactive
|
601
|
+
|
602
|
+
class AdapterNonExistent < CORBA::UserException
|
603
|
+
|
604
|
+
def AdapterNonExistent._tc
|
605
|
+
@@tc_AdapterNonExistent ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/AdapterNonExistent:1.0'.freeze, 'AdapterNonExistent', self)
|
606
|
+
end
|
607
|
+
self._tc # register typecode
|
608
|
+
end #of exception AdapterNonExistent
|
609
|
+
|
610
|
+
class InvalidPolicy < CORBA::UserException
|
611
|
+
|
612
|
+
def InvalidPolicy._tc
|
613
|
+
@@tc_InvalidPolicy ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/InvalidPolicy:1.0'.freeze, 'InvalidPolicy',
|
614
|
+
[['index', CORBA._tc_ushort]], self)
|
615
|
+
end
|
616
|
+
self._tc # register typecode
|
617
|
+
attr_accessor :index
|
618
|
+
def initialize(*param_)
|
619
|
+
@index = param_.shift
|
620
|
+
end
|
621
|
+
|
622
|
+
end #of exception InvalidPolicy
|
623
|
+
|
624
|
+
class NoServant < CORBA::UserException
|
625
|
+
|
626
|
+
def NoServant._tc
|
627
|
+
@@tc_NoServant ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/NoServant:1.0'.freeze, 'NoServant', self)
|
628
|
+
end
|
629
|
+
self._tc # register typecode
|
630
|
+
end #of exception NoServant
|
631
|
+
|
632
|
+
class ObjectAlreadyActive < CORBA::UserException
|
633
|
+
|
634
|
+
def ObjectAlreadyActive._tc
|
635
|
+
@@tc_ObjectAlreadyActive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/ObjectAlreadyActive:1.0'.freeze, 'ObjectAlreadyActive', self)
|
636
|
+
end
|
637
|
+
self._tc # register typecode
|
638
|
+
end #of exception ObjectAlreadyActive
|
639
|
+
|
640
|
+
class ObjectNotActive < CORBA::UserException
|
641
|
+
|
642
|
+
def ObjectNotActive._tc
|
643
|
+
@@tc_ObjectNotActive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/ObjectNotActive:1.0'.freeze, 'ObjectNotActive', self)
|
644
|
+
end
|
645
|
+
self._tc # register typecode
|
646
|
+
end #of exception ObjectNotActive
|
647
|
+
|
648
|
+
class ServantAlreadyActive < CORBA::UserException
|
649
|
+
|
650
|
+
def ServantAlreadyActive._tc
|
651
|
+
@@tc_ServantAlreadyActive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/ServantAlreadyActive:1.0'.freeze, 'ServantAlreadyActive', self)
|
652
|
+
end
|
653
|
+
self._tc # register typecode
|
654
|
+
end #of exception ServantAlreadyActive
|
655
|
+
|
656
|
+
class ServantNotActive < CORBA::UserException
|
657
|
+
|
658
|
+
def ServantNotActive._tc
|
659
|
+
@@tc_ServantNotActive ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/ServantNotActive:1.0'.freeze, 'ServantNotActive', self)
|
660
|
+
end
|
661
|
+
self._tc # register typecode
|
662
|
+
end #of exception ServantNotActive
|
663
|
+
|
664
|
+
class WrongAdapter < CORBA::UserException
|
665
|
+
|
666
|
+
def WrongAdapter._tc
|
667
|
+
@@tc_WrongAdapter ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/WrongAdapter:1.0'.freeze, 'WrongAdapter', self)
|
668
|
+
end
|
669
|
+
self._tc # register typecode
|
670
|
+
end #of exception WrongAdapter
|
671
|
+
|
672
|
+
class WrongPolicy < CORBA::UserException
|
673
|
+
|
674
|
+
def WrongPolicy._tc
|
675
|
+
@@tc_WrongPolicy ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/POA/WrongPolicy:1.0'.freeze, 'WrongPolicy', self)
|
676
|
+
end
|
677
|
+
self._tc # register typecode
|
678
|
+
end #of exception WrongPolicy
|
679
|
+
|
680
|
+
def create_POA(adapter_name, a_POAManager, policies)
|
681
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
682
|
+
'unimplemented operation on local interface',
|
683
|
+
1, ::CORBA::COMPLETED_NO)
|
684
|
+
end #of operation create_POA
|
685
|
+
|
686
|
+
def find_POA(adapter_name, activate_it)
|
687
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
688
|
+
'unimplemented operation on local interface',
|
689
|
+
1, ::CORBA::COMPLETED_NO)
|
690
|
+
end #of operation find_POA
|
691
|
+
|
692
|
+
def destroy(etherealize_objects, wait_for_completion)
|
693
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
694
|
+
'unimplemented operation on local interface',
|
695
|
+
1, ::CORBA::COMPLETED_NO)
|
696
|
+
end #of operation destroy
|
697
|
+
|
698
|
+
def create_thread_policy(value)
|
699
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
700
|
+
'unimplemented operation on local interface',
|
701
|
+
1, ::CORBA::COMPLETED_NO)
|
702
|
+
end #of operation create_thread_policy
|
703
|
+
|
704
|
+
def create_lifespan_policy(value)
|
705
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
706
|
+
'unimplemented operation on local interface',
|
707
|
+
1, ::CORBA::COMPLETED_NO)
|
708
|
+
end #of operation create_lifespan_policy
|
709
|
+
|
710
|
+
def create_id_uniqueness_policy(value)
|
711
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
712
|
+
'unimplemented operation on local interface',
|
713
|
+
1, ::CORBA::COMPLETED_NO)
|
714
|
+
end #of operation create_id_uniqueness_policy
|
715
|
+
|
716
|
+
def create_id_assignment_policy(value)
|
717
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
718
|
+
'unimplemented operation on local interface',
|
719
|
+
1, ::CORBA::COMPLETED_NO)
|
720
|
+
end #of operation create_id_assignment_policy
|
721
|
+
|
722
|
+
def create_implicit_activation_policy(value)
|
723
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
724
|
+
'unimplemented operation on local interface',
|
725
|
+
1, ::CORBA::COMPLETED_NO)
|
726
|
+
end #of operation create_implicit_activation_policy
|
727
|
+
|
728
|
+
def create_servant_retention_policy(value)
|
729
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
730
|
+
'unimplemented operation on local interface',
|
731
|
+
1, ::CORBA::COMPLETED_NO)
|
732
|
+
end #of operation create_servant_retention_policy
|
733
|
+
|
734
|
+
def create_request_processing_policy(value)
|
735
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
736
|
+
'unimplemented operation on local interface',
|
737
|
+
1, ::CORBA::COMPLETED_NO)
|
738
|
+
end #of operation create_request_processing_policy
|
739
|
+
|
740
|
+
def the_name()
|
741
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
742
|
+
'unimplemented attribute on local interface',
|
743
|
+
1, ::CORBA::COMPLETED_NO)
|
744
|
+
end #of attribute the_name getter
|
745
|
+
|
746
|
+
def the_parent()
|
747
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
748
|
+
'unimplemented attribute on local interface',
|
749
|
+
1, ::CORBA::COMPLETED_NO)
|
750
|
+
end #of attribute the_parent getter
|
751
|
+
|
752
|
+
def the_children()
|
753
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
754
|
+
'unimplemented attribute on local interface',
|
755
|
+
1, ::CORBA::COMPLETED_NO)
|
756
|
+
end #of attribute the_children getter
|
757
|
+
|
758
|
+
def the_POAManager()
|
759
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
760
|
+
'unimplemented attribute on local interface',
|
761
|
+
1, ::CORBA::COMPLETED_NO)
|
762
|
+
end #of attribute the_POAManager getter
|
763
|
+
|
764
|
+
def the_activator()
|
765
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
766
|
+
'unimplemented attribute on local interface',
|
767
|
+
1, ::CORBA::COMPLETED_NO)
|
768
|
+
end #of attribute the_activator getter
|
769
|
+
def the_activator=(val)
|
770
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
771
|
+
'unimplemented attribute on local interface',
|
772
|
+
1, ::CORBA::COMPLETED_NO)
|
773
|
+
end #of attribute the_activator setter
|
774
|
+
|
775
|
+
def get_servant_manager()
|
776
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
777
|
+
'unimplemented operation on local interface',
|
778
|
+
1, ::CORBA::COMPLETED_NO)
|
779
|
+
end #of operation get_servant_manager
|
780
|
+
|
781
|
+
def set_servant_manager(imgr)
|
782
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
783
|
+
'unimplemented operation on local interface',
|
784
|
+
1, ::CORBA::COMPLETED_NO)
|
785
|
+
end #of operation set_servant_manager
|
786
|
+
|
787
|
+
def get_servant()
|
788
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
789
|
+
'unimplemented operation on local interface',
|
790
|
+
1, ::CORBA::COMPLETED_NO)
|
791
|
+
end #of operation get_servant
|
792
|
+
|
793
|
+
def set_servant(p_servant)
|
794
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
795
|
+
'unimplemented operation on local interface',
|
796
|
+
1, ::CORBA::COMPLETED_NO)
|
797
|
+
end #of operation set_servant
|
798
|
+
|
799
|
+
def activate_object(p_servant)
|
800
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
801
|
+
'unimplemented operation on local interface',
|
802
|
+
1, ::CORBA::COMPLETED_NO)
|
803
|
+
end #of operation activate_object
|
804
|
+
|
805
|
+
def activate_object_with_id(r_id, p_servant)
|
806
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
807
|
+
'unimplemented operation on local interface',
|
808
|
+
1, ::CORBA::COMPLETED_NO)
|
809
|
+
end #of operation activate_object_with_id
|
810
|
+
|
811
|
+
def deactivate_object(oid)
|
812
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
813
|
+
'unimplemented operation on local interface',
|
814
|
+
1, ::CORBA::COMPLETED_NO)
|
815
|
+
end #of operation deactivate_object
|
816
|
+
|
817
|
+
def create_reference(intf)
|
818
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
819
|
+
'unimplemented operation on local interface',
|
820
|
+
1, ::CORBA::COMPLETED_NO)
|
821
|
+
end #of operation create_reference
|
822
|
+
|
823
|
+
def create_reference_with_id(oid, intf)
|
824
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
825
|
+
'unimplemented operation on local interface',
|
826
|
+
1, ::CORBA::COMPLETED_NO)
|
827
|
+
end #of operation create_reference_with_id
|
828
|
+
|
829
|
+
def servant_to_id(p_servant)
|
830
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
831
|
+
'unimplemented operation on local interface',
|
832
|
+
1, ::CORBA::COMPLETED_NO)
|
833
|
+
end #of operation servant_to_id
|
834
|
+
|
835
|
+
def servant_to_reference(p_servant)
|
836
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
837
|
+
'unimplemented operation on local interface',
|
838
|
+
1, ::CORBA::COMPLETED_NO)
|
839
|
+
end #of operation servant_to_reference
|
840
|
+
|
841
|
+
def reference_to_servant(reference)
|
842
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
843
|
+
'unimplemented operation on local interface',
|
844
|
+
1, ::CORBA::COMPLETED_NO)
|
845
|
+
end #of operation reference_to_servant
|
846
|
+
|
847
|
+
def reference_to_id(reference)
|
848
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
849
|
+
'unimplemented operation on local interface',
|
850
|
+
1, ::CORBA::COMPLETED_NO)
|
851
|
+
end #of operation reference_to_id
|
852
|
+
|
853
|
+
def id_to_servant(oid)
|
854
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
855
|
+
'unimplemented operation on local interface',
|
856
|
+
1, ::CORBA::COMPLETED_NO)
|
857
|
+
end #of operation id_to_servant
|
858
|
+
|
859
|
+
def id_to_reference(oid)
|
860
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
861
|
+
'unimplemented operation on local interface',
|
862
|
+
1, ::CORBA::COMPLETED_NO)
|
863
|
+
end #of operation id_to_reference
|
864
|
+
end #of interface POA
|
865
|
+
|
866
|
+
|
867
|
+
module Current ## interface
|
868
|
+
|
869
|
+
include CORBA::Current
|
870
|
+
|
871
|
+
Id = 'IDL:omg.org/PortableServer/Current:1.0'.freeze
|
872
|
+
Ids = [ Id,
|
873
|
+
CORBA::Current::Id ].freeze
|
874
|
+
|
875
|
+
def Current._tc; @@tc_Current ||= CORBA::TypeCode::ObjectRef.new(Id, 'Current', self); end
|
876
|
+
self._tc # register typecode
|
877
|
+
|
878
|
+
def Current._narrow(obj)
|
879
|
+
return nil if CORBA.is_nil(obj)
|
880
|
+
return CORBA::Stub.create_stub(obj)._unchecked_narrow!(self)
|
881
|
+
end
|
882
|
+
|
883
|
+
def Current._duplicate(obj)
|
884
|
+
obj
|
885
|
+
end
|
886
|
+
|
887
|
+
def _interface_repository_id
|
888
|
+
PortableServer::Current::Id
|
889
|
+
end
|
890
|
+
|
891
|
+
|
892
|
+
class NoContext < CORBA::UserException
|
893
|
+
|
894
|
+
def NoContext._tc
|
895
|
+
@@tc_NoContext ||= CORBA::TypeCode::Except.new('IDL:omg.org/PortableServer/Current/NoContext:1.0'.freeze, 'NoContext', self)
|
896
|
+
end
|
897
|
+
self._tc # register typecode
|
898
|
+
end #of exception NoContext
|
899
|
+
|
900
|
+
def get_POA()
|
901
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
902
|
+
'unimplemented operation on local interface',
|
903
|
+
1, ::CORBA::COMPLETED_NO)
|
904
|
+
end #of operation get_POA
|
905
|
+
|
906
|
+
def get_object_id()
|
907
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
908
|
+
'unimplemented operation on local interface',
|
909
|
+
1, ::CORBA::COMPLETED_NO)
|
910
|
+
end #of operation get_object_id
|
911
|
+
|
912
|
+
def get_reference()
|
913
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
914
|
+
'unimplemented operation on local interface',
|
915
|
+
1, ::CORBA::COMPLETED_NO)
|
916
|
+
end #of operation get_reference
|
917
|
+
|
918
|
+
def get_servant()
|
919
|
+
raise ::CORBA::NO_IMPLEMENT.new(
|
920
|
+
'unimplemented operation on local interface',
|
921
|
+
1, ::CORBA::COMPLETED_NO)
|
922
|
+
end #of operation get_servant
|
923
|
+
end #of interface Current
|
924
|
+
|
925
|
+
end #of module PortableServer
|
926
|
+
|
927
|
+
} ## end of 'PortableServer.pidl'
|
928
|
+
end #of module R2CORBA
|
929
|
+
|
930
|
+
# -*- END -*-
|