aaronp-zomg 1.0.2.20080827232412
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.
- data/History.txt +25 -0
- data/Manifest.txt +238 -0
- data/README.txt +59 -0
- data/Rakefile +43 -0
- data/bin/omfg +56 -0
- data/lib/scanner.rex +169 -0
- data/lib/yacc.y +861 -0
- data/lib/zomg.rb +22 -0
- data/lib/zomg/idl.rb +14 -0
- data/lib/zomg/idl/nodes/attribute.rb +15 -0
- data/lib/zomg/idl/nodes/binary.rb +19 -0
- data/lib/zomg/idl/nodes/constant.rb +15 -0
- data/lib/zomg/idl/nodes/interface.rb +13 -0
- data/lib/zomg/idl/nodes/interface_header.rb +14 -0
- data/lib/zomg/idl/nodes/member.rb +14 -0
- data/lib/zomg/idl/nodes/node.rb +54 -0
- data/lib/zomg/idl/nodes/operation.rb +17 -0
- data/lib/zomg/idl/nodes/parameter.rb +18 -0
- data/lib/zomg/idl/nodes/typedef.rb +13 -0
- data/lib/zomg/idl/nodes/union.rb +14 -0
- data/lib/zomg/idl/parser.rb +54 -0
- data/lib/zomg/idl/visitable.rb +15 -0
- data/lib/zomg/idl/visitors/duhr.rb +24 -0
- data/lib/zomg/idl/visitors/ruby_sexp.rb +204 -0
- data/lib/zomg/idl/visitors/sexp.rb +274 -0
- data/lib/zomg/version.rb +3 -0
- data/test/assets/array/array1.idl +60 -0
- data/test/assets/array/array2.idl +38 -0
- data/test/assets/array/array3.idl +8 -0
- data/test/assets/array/array4.idl +7 -0
- data/test/assets/array/array5.idl +80 -0
- data/test/assets/attribute/grid_0attribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_0methods.idl +19 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_1methods.idl +19 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_2methods.idl +17 -0
- data/test/assets/attribute/grid_1ROattribs_1methods.idl +16 -0
- data/test/assets/attribute/grid_1ROattribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_1attribs_1methods.idl +17 -0
- data/test/assets/attribute/grid_1attribs_2methods.idl +17 -0
- data/test/assets/attribute/grid_2ROattribs_0methods.idl +16 -0
- data/test/assets/attribute/grid_2ROattribs_1methods.idl +16 -0
- data/test/assets/attribute/grid_2ROattribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_2attribs_0methods.idl +19 -0
- data/test/assets/attribute/grid_2attribs_1methods.idl +19 -0
- data/test/assets/attribute/grid_2attribs_2methods.idl +19 -0
- data/test/assets/comment/c_style_comments.idl +63 -0
- data/test/assets/comment/comment1.idl +57 -0
- data/test/assets/comment/cpp_style_comments.idl +168 -0
- data/test/assets/comment/shortform.idl +0 -0
- data/test/assets/complex/TestCodeSets.idl +10 -0
- data/test/assets/complex/TestIntfContext.idl +13 -0
- data/test/assets/complex/TestIntfLongLong.idl +51 -0
- data/test/assets/complex/TestIntfWChar.idl +52 -0
- data/test/assets/complex/any1.idl +22 -0
- data/test/assets/complex/complex1.idl +495 -0
- data/test/assets/complex/complex2.idl +730 -0
- data/test/assets/complex/complex3.idl +181 -0
- data/test/assets/complex/complex4.idl +181 -0
- data/test/assets/complex/interop_wchar.idl +60 -0
- data/test/assets/constant/constant1.idl +37 -0
- data/test/assets/constant/constant2.idl +29 -0
- data/test/assets/constant/constant3.idl +50 -0
- data/test/assets/constant/constant4.idl +21 -0
- data/test/assets/constant/constant5.idl +65 -0
- data/test/assets/constant/constant6.idl +144 -0
- data/test/assets/constant/constant7.idl +30 -0
- data/test/assets/enum/enum1.idl +13 -0
- data/test/assets/exception/TestIntfExceptions.idl +69 -0
- data/test/assets/exception/TestIntfExceptionsExt_2_0.idl +34 -0
- data/test/assets/exception/TestIntfExceptionsExt_2_3.idl +24 -0
- data/test/assets/exception/ex1.idl +6 -0
- data/test/assets/exception/ex2.idl +18 -0
- data/test/assets/exception/ex3.idl +10 -0
- data/test/assets/exception/ex4.idl +20 -0
- data/test/assets/exception/sc.idl +0 -0
- data/test/assets/exception/simple1.idl +18 -0
- data/test/assets/exception/simple2.idl +25 -0
- data/test/assets/factory/factory1.idl +77 -0
- data/test/assets/factory/objref.idl +25 -0
- data/test/assets/forward/forward.idl +15 -0
- data/test/assets/forward/forward1.idl +13 -0
- data/test/assets/forward/fwd_incl1.idl +6 -0
- data/test/assets/forward/fwd_incl2.idl +7 -0
- data/test/assets/include/a.idl +23 -0
- data/test/assets/include/b.idl +16 -0
- data/test/assets/include/employee.idl +12 -0
- data/test/assets/include/include1.idl +10 -0
- data/test/assets/include/include2.idl +5 -0
- data/test/assets/include/manager.idl +10 -0
- data/test/assets/include/pragma.idl +41 -0
- data/test/assets/include/rookie.idl +13 -0
- data/test/assets/include/rookiemanager.idl +15 -0
- data/test/assets/include/sample.idl +58 -0
- data/test/assets/include/sample_incl.idl +406 -0
- data/test/assets/inherit/IDL1.idl +18 -0
- data/test/assets/inherit/IDL2.idl +18 -0
- data/test/assets/inherit/IDL3.idl +18 -0
- data/test/assets/inherit/IDL4.idl +17 -0
- data/test/assets/inherit/diamond_inheritance.idl +31 -0
- data/test/assets/inherit/inherit.idl +27 -0
- data/test/assets/limit/longidentifiers.idl +25 -0
- data/test/assets/limit/namelens.idl +26 -0
- data/test/assets/limit/tpztest.idl +21 -0
- data/test/assets/module/module1.idl +29 -0
- data/test/assets/module/module2.idl +34 -0
- data/test/assets/module/module3.idl +20 -0
- data/test/assets/module/module4.idl +15 -0
- data/test/assets/nested/nested1.idl +5 -0
- data/test/assets/nested/nested2.idl +11 -0
- data/test/assets/operations/Benchmark.idl +331 -0
- data/test/assets/operations/CCS.idl +82 -0
- data/test/assets/operations/TestIntf.idl +40 -0
- data/test/assets/operations/TestIntfBasic.idl +653 -0
- data/test/assets/operations/atomic.idl +40 -0
- data/test/assets/operations/dif2.idl +48 -0
- data/test/assets/operations/interface1.idl +16 -0
- data/test/assets/operations/parameters.idl +111 -0
- data/test/assets/operations/perf.idl +84 -0
- data/test/assets/operations/timer.idl +104 -0
- data/test/assets/preprocess/base_for_diamond_inheritance_with_macros.idl +17 -0
- data/test/assets/preprocess/basic_macro_marshalling.idl +54 -0
- data/test/assets/preprocess/diamond_inheritance_with_macros.idl +74 -0
- data/test/assets/preprocess/macro1.idl +52 -0
- data/test/assets/preprocess/preprocess1.idl +246 -0
- data/test/assets/preprocess/preprocess2.idl +3 -0
- data/test/assets/recursion/loop.idl +28 -0
- data/test/assets/recursion/recursion1.idl +47 -0
- data/test/assets/recursion/recursion2.idl +74 -0
- data/test/assets/scenarios/filestat.idl +69 -0
- data/test/assets/scenarios/gateway.idl +176 -0
- data/test/assets/scenarios/library.idl +20 -0
- data/test/assets/scenarios/phone.idl +24 -0
- data/test/assets/scenarios/ticketservice.idl +118 -0
- data/test/assets/scope/scope01.idl +58 -0
- data/test/assets/scope/scope02.idl +25 -0
- data/test/assets/scope/scope03.idl +22 -0
- data/test/assets/scope/scope04.idl +27 -0
- data/test/assets/scope/scope05.idl +30 -0
- data/test/assets/scope/scope06.idl +51 -0
- data/test/assets/scope/scope07.idl +20 -0
- data/test/assets/scope/scope08.idl +88 -0
- data/test/assets/scope/scope09.idl +21 -0
- data/test/assets/scope/scope10.idl +95 -0
- data/test/assets/scope/scope11.idl +62 -0
- data/test/assets/scope/scope12.idl +117 -0
- data/test/assets/scope/scope13.idl +117 -0
- data/test/assets/scope/scope14.idl +117 -0
- data/test/assets/scope/scope15.idl +117 -0
- data/test/assets/scope/scope16.idl +117 -0
- data/test/assets/scope/scope17.idl +117 -0
- data/test/assets/scope/scope18.idl +117 -0
- data/test/assets/scope/scope19.idl +117 -0
- data/test/assets/scope/scope20.idl +215 -0
- data/test/assets/scope/scope21.idl +215 -0
- data/test/assets/scope/scope22.idl +205 -0
- data/test/assets/scope/scope23.idl +261 -0
- data/test/assets/scope/scope24.idl +376 -0
- data/test/assets/scope/scope25.idl +266 -0
- data/test/assets/scope/scope26.idl +180 -0
- data/test/assets/scope/scope27.idl +184 -0
- data/test/assets/scope/scope28.idl +182 -0
- data/test/assets/scope/scope29.idl +182 -0
- data/test/assets/scope/scope30.idl +40 -0
- data/test/assets/scope/scope31.idl +33 -0
- data/test/assets/scope/scope32.idl +37 -0
- data/test/assets/scope/scope33.idl +50 -0
- data/test/assets/scope/scope34.idl +97 -0
- data/test/assets/scope/scope35.idl +72 -0
- data/test/assets/scope/scope36.idl +167 -0
- data/test/assets/scope/scope37.idl +57 -0
- data/test/assets/scope/scope38.idl +38 -0
- data/test/assets/scope/scope39.idl +38 -0
- data/test/assets/scope/scope40.idl +38 -0
- data/test/assets/scope/scope41.idl +24 -0
- data/test/assets/scope/scope42.idl +64 -0
- data/test/assets/scope/scope43.idl +66 -0
- data/test/assets/scope/scope44.idl +52 -0
- data/test/assets/sequence/sequence1.idl +24 -0
- data/test/assets/sequence/sequence2.idl +9 -0
- data/test/assets/simple/basictypes1.idl +80 -0
- data/test/assets/simple/basictypes2.idl +197 -0
- data/test/assets/simple/basictypes3.idl +23 -0
- data/test/assets/simple/basictypes4.idl +73 -0
- data/test/assets/simple/basictypes5.idl +29 -0
- data/test/assets/simple/basictypes6.idl +63 -0
- data/test/assets/simple/simple1.idl +45 -0
- data/test/assets/simple/simple2.idl +61 -0
- data/test/assets/simple/simple3.idl +36 -0
- data/test/assets/string/string1.idl +11 -0
- data/test/assets/string/string2.idl +29 -0
- data/test/assets/struct/struct1.idl +20 -0
- data/test/assets/struct/struct2.idl +21 -0
- data/test/assets/struct/struct3.idl +42 -0
- data/test/assets/struct/struct4.idl +57 -0
- data/test/assets/struct/struct5.idl +71 -0
- data/test/assets/typecode/orb.idl +0 -0
- data/test/assets/typecode/pseudo.idl +25 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideIF.idl +17 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideIF_noMO.idl +16 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideMO.idl +17 -0
- data/test/assets/typedef/shorthand_typedef_struct_outsideMO.idl +17 -0
- data/test/assets/typedef/typedef1.idl +8 -0
- data/test/assets/typedef/typedef2.idl +22 -0
- data/test/assets/typedef/typedef_struct_insideIF.idl +18 -0
- data/test/assets/typedef/typedef_struct_insideMO.idl +18 -0
- data/test/assets/typedef/typedef_struct_outsideMO.idl +18 -0
- data/test/assets/union/union1.idl +31 -0
- data/test/assets/union/union2.idl +22 -0
- data/test/assets/union/union3.idl +26 -0
- data/test/conversions/test_attribute.rb +46 -0
- data/test/conversions/test_enum.rb +25 -0
- data/test/conversions/test_exception.rb +24 -0
- data/test/conversions/test_forward_declaration.rb +22 -0
- data/test/conversions/test_interface.rb +30 -0
- data/test/conversions/test_module.rb +24 -0
- data/test/conversions/test_struct.rb +25 -0
- data/test/conversions/test_typedef.rb +22 -0
- data/test/conversions/test_union.rb +27 -0
- data/test/conversions/test_value_box_dcl.rb +22 -0
- data/test/helper.rb +23 -0
- data/test/simple/test_basictypes1.rb +87 -0
- data/test/simple/test_basictypes2.rb +18 -0
- data/test/simple/test_basictypes3.rb +32 -0
- data/test/simple/test_basictypes4.rb +25 -0
- data/test/simple/test_basictypes5.rb +17 -0
- data/test/simple/test_basictypes6.rb +19 -0
- data/test/simple/test_simple1.rb +40 -0
- data/test/simple/test_simple2.rb +48 -0
- data/test/simple/test_simple3.rb +20 -0
- data/test/test_array.rb +22 -0
- data/test/test_assets.rb +33 -0
- data/test/test_complex.rb +17 -0
- data/test/test_node.rb +16 -0
- data/test/test_parser.rb +17 -0
- data/test/test_scanner.rb +234 -0
- metadata +334 -0
File without changes
|
@@ -0,0 +1,51 @@
|
|
1
|
+
module ORBTest_LongLong
|
2
|
+
{
|
3
|
+
exception ExLongLong
|
4
|
+
{
|
5
|
+
long long value;
|
6
|
+
};
|
7
|
+
|
8
|
+
exception ExULongLong
|
9
|
+
{
|
10
|
+
unsigned long long value;
|
11
|
+
};
|
12
|
+
|
13
|
+
interface Intf
|
14
|
+
{
|
15
|
+
attribute long long attrLongLong;
|
16
|
+
|
17
|
+
long long
|
18
|
+
opLongLong(
|
19
|
+
in long long a0,
|
20
|
+
inout long long a1,
|
21
|
+
out long long a2
|
22
|
+
);
|
23
|
+
|
24
|
+
long long
|
25
|
+
opLongLongEx(
|
26
|
+
in long long a0,
|
27
|
+
inout long long a1,
|
28
|
+
out long long a2
|
29
|
+
)
|
30
|
+
raises (ExLongLong);
|
31
|
+
|
32
|
+
// --------------------------------------------------
|
33
|
+
|
34
|
+
attribute unsigned long long attrULongLong;
|
35
|
+
|
36
|
+
unsigned long long
|
37
|
+
opULongLong(
|
38
|
+
in unsigned long long a0,
|
39
|
+
inout unsigned long long a1,
|
40
|
+
out unsigned long long a2
|
41
|
+
);
|
42
|
+
|
43
|
+
unsigned long long
|
44
|
+
opULongLongEx(
|
45
|
+
in unsigned long long a0,
|
46
|
+
inout unsigned long long a1,
|
47
|
+
out unsigned long long a2
|
48
|
+
)
|
49
|
+
raises (ExULongLong); };
|
50
|
+
|
51
|
+
}; // module ORBTest_LongLong
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module ORBTest_WChar
|
2
|
+
{
|
3
|
+
exception ExWChar
|
4
|
+
{
|
5
|
+
wchar value;
|
6
|
+
};
|
7
|
+
|
8
|
+
exception ExWString
|
9
|
+
{
|
10
|
+
wstring value;
|
11
|
+
};
|
12
|
+
|
13
|
+
interface Intf
|
14
|
+
{
|
15
|
+
attribute wchar attrWChar;
|
16
|
+
|
17
|
+
wchar
|
18
|
+
opWChar(
|
19
|
+
in wchar a0,
|
20
|
+
inout wchar a1,
|
21
|
+
out wchar a2
|
22
|
+
);
|
23
|
+
|
24
|
+
wchar
|
25
|
+
opWCharEx(
|
26
|
+
in wchar a0,
|
27
|
+
inout wchar a1,
|
28
|
+
out wchar a2
|
29
|
+
)
|
30
|
+
raises (ExWChar);
|
31
|
+
|
32
|
+
// --------------------------------------------------
|
33
|
+
|
34
|
+
attribute wstring attrWString;
|
35
|
+
|
36
|
+
wstring
|
37
|
+
opWString(
|
38
|
+
in wstring a0,
|
39
|
+
inout wstring a1,
|
40
|
+
out wstring a2
|
41
|
+
);
|
42
|
+
|
43
|
+
wstring
|
44
|
+
opWStringEx(
|
45
|
+
in wstring a0,
|
46
|
+
inout wstring a1,
|
47
|
+
out wstring a2
|
48
|
+
)
|
49
|
+
raises (ExWString);
|
50
|
+
};
|
51
|
+
|
52
|
+
}; // module ORBTest_WChar
|
@@ -0,0 +1,22 @@
|
|
1
|
+
typedef sequence<any> any_seq;
|
2
|
+
|
3
|
+
struct any_struct {
|
4
|
+
long slot_1;
|
5
|
+
any slot_2;
|
6
|
+
long slot_3;
|
7
|
+
};
|
8
|
+
|
9
|
+
interface I {
|
10
|
+
any op_any (in any a,
|
11
|
+
inout any b,
|
12
|
+
out any c);
|
13
|
+
any_seq op_any_seq (in any_seq a,
|
14
|
+
inout any_seq b,
|
15
|
+
out any_seq c);
|
16
|
+
any_struct op_any_struct(in any_struct a,
|
17
|
+
inout any_struct b,
|
18
|
+
out any_struct c);
|
19
|
+
};
|
20
|
+
|
21
|
+
/* End of file. */
|
22
|
+
|
@@ -0,0 +1,495 @@
|
|
1
|
+
// Description : CORBA IDL containing an interface that
|
2
|
+
// has multiple methods, each testing a complex datatype
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Module that contains interfaces for complex tests. IDLs contained in
|
6
|
+
* this module includes the following:
|
7
|
+
* <UL>
|
8
|
+
* <LI>Complex data types including structures, sequences, unions, etc.
|
9
|
+
* <LI>Interface that contains One-way operations
|
10
|
+
* </UL>
|
11
|
+
*/
|
12
|
+
module OneWayComplexTest
|
13
|
+
{
|
14
|
+
/**
|
15
|
+
* Complex structure consisting of a string value and a
|
16
|
+
* sequence of floating point values
|
17
|
+
*/
|
18
|
+
struct ComplexStructure
|
19
|
+
{
|
20
|
+
string string_value;
|
21
|
+
sequence<float> sequence_value;
|
22
|
+
};
|
23
|
+
|
24
|
+
/**
|
25
|
+
* A complex array consisting of 2 elements. Each element is a complex
|
26
|
+
* structure type
|
27
|
+
*/
|
28
|
+
typedef ComplexStructure ComplexArray[2];
|
29
|
+
|
30
|
+
/**
|
31
|
+
* A complex unbounded sequence that holds any data types
|
32
|
+
*/
|
33
|
+
typedef sequence<any> ComplexSequence;
|
34
|
+
|
35
|
+
/**
|
36
|
+
* An enumeration consisting of 5 elements, E1 to E5. The enumeration
|
37
|
+
* is used to test Union data types, based on a switch case of enum values
|
38
|
+
*/
|
39
|
+
enum TestEnum { E1, E2, E3, E4, E5 };
|
40
|
+
|
41
|
+
/**
|
42
|
+
* An array consisting of 5 elements. Each element is a short
|
43
|
+
* data type. The array of 5 shorts is typedef-ed into the name
|
44
|
+
* "short"
|
45
|
+
*/
|
46
|
+
typedef short short_array[5];
|
47
|
+
|
48
|
+
/**
|
49
|
+
* An array consisting of 5 elements. Each element is a double
|
50
|
+
* data type. The array of 5 doubled is typedef-ed into the name
|
51
|
+
* "double"
|
52
|
+
*/
|
53
|
+
typedef double double_array[5];
|
54
|
+
|
55
|
+
/**
|
56
|
+
* An array consisting of 5 elements. Each element is a string
|
57
|
+
* data type. The array of 5 strings is typedef-ed into the name
|
58
|
+
* "string"
|
59
|
+
*/
|
60
|
+
typedef string string_array[5];
|
61
|
+
|
62
|
+
/**
|
63
|
+
* A union that discriminates based on an enumeration, <CODE>TestEnum
|
64
|
+
* </CODE>. The discrimination rules are as follows:
|
65
|
+
* <UL>
|
66
|
+
* <LI>If discriminator is TestEnum::E1, return an array of short values
|
67
|
+
* <LI>If discriminator is TestEnum::E2, return an array of double values
|
68
|
+
* <LI>If discriminator is TestEnum::E3, return a long value
|
69
|
+
* <LI>If discriminator is TestEnum::E4, return a complex structure
|
70
|
+
* <LI>If discriminator is TestEnum::E5, return an array of string values
|
71
|
+
* </UL>
|
72
|
+
*/
|
73
|
+
union ComplexUnion switch(TestEnum)
|
74
|
+
{
|
75
|
+
case E1:
|
76
|
+
short_array s;
|
77
|
+
case E2:
|
78
|
+
double_array d;
|
79
|
+
case E3:
|
80
|
+
long l;
|
81
|
+
case E4:
|
82
|
+
ComplexStructure cs;
|
83
|
+
default:
|
84
|
+
string_array str;
|
85
|
+
};
|
86
|
+
|
87
|
+
/**
|
88
|
+
* One-way interface for complex data types. Clients and servers written
|
89
|
+
* using this interface can be used with all services.
|
90
|
+
*/
|
91
|
+
interface com1wcor
|
92
|
+
{
|
93
|
+
/**
|
94
|
+
* One-way method that does nothing. Although this is a test for
|
95
|
+
* complex data types, this method is a good place to start to test
|
96
|
+
* the adapter's core functionality. The method raises a complex
|
97
|
+
* exception when passed the correct parameter <CODE>(Server -ex)
|
98
|
+
* </CODE>.<BR>
|
99
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
100
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
101
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
102
|
+
* @author Kunal Ashar
|
103
|
+
* @param void
|
104
|
+
* @return void
|
105
|
+
*/
|
106
|
+
oneway void test_void();
|
107
|
+
|
108
|
+
/**
|
109
|
+
* One-way method that tests the adapter ability to handle short
|
110
|
+
* data types Although this is a test for complex data types, this
|
111
|
+
* method is a good place to start to test the adapter's core
|
112
|
+
* functionality. The method raises a complex exception when
|
113
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
114
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
115
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
116
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
117
|
+
* @author Kunal Ashar
|
118
|
+
* @param in short ivalue: Takes a reference to a short value. Since
|
119
|
+
* the direction is "in" only, the method takes in a value and does
|
120
|
+
* not return it back to the caller. Typically, the value 0 is passed
|
121
|
+
* into the parameter
|
122
|
+
* @return void
|
123
|
+
*/
|
124
|
+
oneway void test_short
|
125
|
+
(
|
126
|
+
in short ivalue
|
127
|
+
);
|
128
|
+
|
129
|
+
/**
|
130
|
+
* One-way method that tests the adapter ability to handle long
|
131
|
+
* data types Although this is a test for complex data types, this
|
132
|
+
* method is a good place to start to test the adapter's core
|
133
|
+
* functionality. The method raises a complex exception when
|
134
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
135
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
136
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
137
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
138
|
+
* @author Kunal Ashar
|
139
|
+
* @param in long ivalue: Takes a reference to a long value. Since
|
140
|
+
* the direction is "in" only, the method takes in a value and does
|
141
|
+
* not return it back to the caller. Typically, the value 99999999
|
142
|
+
* is passed into the parameter
|
143
|
+
* @return void
|
144
|
+
*/
|
145
|
+
oneway void test_long
|
146
|
+
(
|
147
|
+
in long ivalue
|
148
|
+
);
|
149
|
+
|
150
|
+
/**
|
151
|
+
* One-way method that tests the adapter ability to handle long long
|
152
|
+
* data types Although this is a test for complex data types, this
|
153
|
+
* method is a good place to start to test the adapter's core
|
154
|
+
* functionality. The method raises a complex exception when
|
155
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
156
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
157
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
158
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
159
|
+
* @author Kunal Ashar
|
160
|
+
* @param in long long ivalue: Takes a reference to a long long value.
|
161
|
+
* Since the direction is "in" only, the method takes in a value and
|
162
|
+
* does not return it back to the caller. Typically, the value 99999999
|
163
|
+
* is passed into the parameter
|
164
|
+
* @return void
|
165
|
+
*/
|
166
|
+
oneway void test_longlong
|
167
|
+
(
|
168
|
+
in long long ivalue
|
169
|
+
);
|
170
|
+
|
171
|
+
/**
|
172
|
+
* One-way method that tests the adapter ability to handle unsigned
|
173
|
+
* short (ushort) data types Although this is a test for complex
|
174
|
+
* data types, this method is a good place to start to test the
|
175
|
+
* adapter's core functionality. The method raises a complex exception
|
176
|
+
* when passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
177
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
178
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
179
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
180
|
+
* @author Kunal Ashar
|
181
|
+
* @param in ushort ivalue: Takes a reference to a ushort value. Since
|
182
|
+
* the direction is "in" only, the method takes in a value and does
|
183
|
+
* not return it back to the caller. Typically, the value 0 is passed
|
184
|
+
* into the parameter
|
185
|
+
* @return void
|
186
|
+
*/
|
187
|
+
oneway void test_ushort
|
188
|
+
(
|
189
|
+
in unsigned short ivalue
|
190
|
+
);
|
191
|
+
|
192
|
+
/**
|
193
|
+
* One-way method that tests the adapter ability to handle unsigned
|
194
|
+
* long (ulong) data types Although this is a test for complex data
|
195
|
+
* types, this method is a good place to start to test the adapter's
|
196
|
+
* core functionality. The method raises a complex exception when
|
197
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
198
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
199
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
200
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
201
|
+
* @author Kunal Ashar
|
202
|
+
* @param in ulong ivalue: Takes a reference to a ulong value. Since
|
203
|
+
* the direction is "in" only, the method takes in a value and does
|
204
|
+
* not return it back to the caller. Typically, the value 99999999
|
205
|
+
* is passed into the parameter
|
206
|
+
* @return void
|
207
|
+
*/
|
208
|
+
oneway void test_ulong
|
209
|
+
(
|
210
|
+
in unsigned long ivalue
|
211
|
+
);
|
212
|
+
|
213
|
+
/**
|
214
|
+
* One-way method that tests the adapter ability to handle unsigned
|
215
|
+
* long long (ulonglong) data types Although this is a test for
|
216
|
+
* complex data types, this method is a good place to start to test
|
217
|
+
* the adapter's core functionality. The method raises a complex
|
218
|
+
* exception when passed the correct parameter <CODE>(Server -ex)
|
219
|
+
* </CODE>.<BR>
|
220
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
221
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
222
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
223
|
+
* @author Kunal Ashar
|
224
|
+
* @param in ulonglong ivalue: Takes a reference to a ulonglong value.
|
225
|
+
* Since the direction is "in" only, the method takes in a value and
|
226
|
+
* does not return it back to the caller. Typically, the value 99999999
|
227
|
+
* is passed into the parameter
|
228
|
+
* @return void
|
229
|
+
*/
|
230
|
+
oneway void test_ulonglong
|
231
|
+
(
|
232
|
+
in unsigned long long ivalue
|
233
|
+
);
|
234
|
+
|
235
|
+
/**
|
236
|
+
* One-way method that tests the adapter ability to handle floating
|
237
|
+
* point (float) data types Although this is a test for complex data
|
238
|
+
* types, this method is a good place to start to test the adapter's
|
239
|
+
* core functionality. The method raises a complex exception when
|
240
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
241
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
242
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
243
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
244
|
+
* @author Kunal Ashar
|
245
|
+
* @param in float ivalue: Takes a reference to a float value. Since
|
246
|
+
* the direction is "in" only, the method takes in a value and does
|
247
|
+
* not return it back to the caller. Typically, the value 0.0 is passed
|
248
|
+
* into the parameter
|
249
|
+
* @return void
|
250
|
+
*/
|
251
|
+
oneway void test_float
|
252
|
+
(
|
253
|
+
in float ivalue
|
254
|
+
);
|
255
|
+
|
256
|
+
/**
|
257
|
+
* One-way method that tests the adapter ability to handle double
|
258
|
+
* data types Although this is a test for complex data types, this
|
259
|
+
* method is a good place to start to test the adapter's core
|
260
|
+
* functionality. The method raises a complex exception when
|
261
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
262
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
263
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
264
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
265
|
+
* @author Kunal Ashar
|
266
|
+
* @param in double ivalue: Takes a reference to a double value. Since
|
267
|
+
* the direction is "in" only, the method takes in a value and does
|
268
|
+
* not return it back to the caller. Typically, the value
|
269
|
+
* 9999.9999 is passed into the parameter
|
270
|
+
* @return void
|
271
|
+
*/
|
272
|
+
oneway void test_double
|
273
|
+
(
|
274
|
+
in double ivalue
|
275
|
+
);
|
276
|
+
|
277
|
+
/**
|
278
|
+
* One-way method that tests the adapter ability to handle string
|
279
|
+
* data types Although this is a test for complex data types, this
|
280
|
+
* method is a good place to start to test the adapter's core
|
281
|
+
* functionality. The method raises a complex exception when
|
282
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
283
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
284
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
285
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
286
|
+
* @author Kunal Ashar
|
287
|
+
* @param in string ivalue: Takes a reference to a string value. Since
|
288
|
+
* the direction is "in" only, the method takes in a value and does
|
289
|
+
* not return it back to the caller. Typically, the value
|
290
|
+
* "Invoking..." is passed into the parameter
|
291
|
+
* @return void
|
292
|
+
*/
|
293
|
+
oneway void test_string
|
294
|
+
(
|
295
|
+
in string ivalue
|
296
|
+
);
|
297
|
+
|
298
|
+
/**
|
299
|
+
* One-way method that tests the adapter ability to handle character
|
300
|
+
* (char) data types Although this is a test for complex data types,
|
301
|
+
* this method is a good place to start to test the adapter's core
|
302
|
+
* functionality. The method raises a complex exception when passed
|
303
|
+
* the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
304
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
305
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
306
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
307
|
+
* @author Kunal Ashar
|
308
|
+
* @param in char ivalue: Takes a reference to a value. Since the
|
309
|
+
* direction is "in" only, the method takes in a value and does not
|
310
|
+
* return it back to the caller. Typically, the value 'a' is passed
|
311
|
+
* into the parameter
|
312
|
+
* @return void
|
313
|
+
*/
|
314
|
+
oneway void test_char
|
315
|
+
(
|
316
|
+
in char ivalue
|
317
|
+
);
|
318
|
+
|
319
|
+
/**
|
320
|
+
* One-way method that tests the adapter ability to handle wide string
|
321
|
+
* (wstring) data types Although this is a test for complex data types,
|
322
|
+
* this method is a good place to start to test the adapter's core
|
323
|
+
* functionality. The method raises a complex exception when
|
324
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
325
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
326
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
327
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
328
|
+
* @author Kunal Ashar
|
329
|
+
* @param in wstring ivalue: Takes a reference to a wstring value.
|
330
|
+
* Since the direction is "in" only, the method takes in a value and
|
331
|
+
* does not return it back to the caller. Typically, the value
|
332
|
+
* "Invoking..." is passed into the parameter
|
333
|
+
* @return void
|
334
|
+
*/
|
335
|
+
oneway void test_wstring
|
336
|
+
(
|
337
|
+
in wstring ivalue
|
338
|
+
);
|
339
|
+
|
340
|
+
/**
|
341
|
+
* One-way method that tests the adapter ability to handle wide
|
342
|
+
* character (wchar) data types Although this is a test for complex
|
343
|
+
* data types, this method is a good place to start to test the
|
344
|
+
* adapter's core functionality. The method raises a complex exception
|
345
|
+
* when passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
346
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
347
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
348
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
349
|
+
* @author Kunal Ashar
|
350
|
+
* @param in wchar ivalue: Takes a reference to a value. Since the
|
351
|
+
* direction is "in" only, the method takes in a value and does not
|
352
|
+
* return it back to the caller. Typically, the value 'a' is passed
|
353
|
+
* into the parameter
|
354
|
+
* @return void
|
355
|
+
*/
|
356
|
+
oneway void test_wchar
|
357
|
+
(
|
358
|
+
in wchar ivalue
|
359
|
+
);
|
360
|
+
|
361
|
+
/**
|
362
|
+
* One-way method that tests the adapter ability to handle enumerated
|
363
|
+
* (enum) data types Although this is a test for complex data types,
|
364
|
+
* this method is a good place to start to test the adapter's core
|
365
|
+
* functionality. The method raises a complex exception when
|
366
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
367
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
368
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
369
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
370
|
+
* @author Kunal Ashar
|
371
|
+
* @param in enum ivalue: Takes a reference to a enum value. Since
|
372
|
+
* the direction is "in" only, the method takes in a value and does
|
373
|
+
* not return it back to the caller. Typically, the value E1 is passed
|
374
|
+
* into the parameter
|
375
|
+
* @return void
|
376
|
+
*/
|
377
|
+
oneway void test_enum
|
378
|
+
(
|
379
|
+
in TestEnum ivalue
|
380
|
+
);
|
381
|
+
|
382
|
+
/**
|
383
|
+
* One-way method that tests the adapter ability to handle object
|
384
|
+
* references (objref) as any data types. The method raises a complex
|
385
|
+
* exception when passed the correct parameter <CODE>(Server -ex)
|
386
|
+
* </CODE>.<BR>
|
387
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
388
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
389
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
390
|
+
* @author Kunal Ashar
|
391
|
+
* @param in objref ivalue: Takes a reference to a objref value.
|
392
|
+
* Since the direction is "in" only, the method takes in a value and
|
393
|
+
* does not return it back to the caller. Typically, the IOR of the
|
394
|
+
* client is passed into the parameter
|
395
|
+
* @return void
|
396
|
+
*/
|
397
|
+
oneway void test_obj_ref
|
398
|
+
(
|
399
|
+
in any ivalue
|
400
|
+
);
|
401
|
+
|
402
|
+
/**
|
403
|
+
* One-way method that tests the adapter ability to handle union data
|
404
|
+
* types. The method raises a complex exception when passed the correct
|
405
|
+
* parameter <CODE>(Server -ex)</CODE>.<BR>
|
406
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
407
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
408
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
409
|
+
* @author Kunal Ashar
|
410
|
+
* @param in ComplexUnion ivalue: Takes a reference to a union value.
|
411
|
+
* Since the direction is "in" only, the method takes in a value and
|
412
|
+
* does not return it back to the caller
|
413
|
+
* @return void
|
414
|
+
*/
|
415
|
+
oneway void test_union
|
416
|
+
(
|
417
|
+
in ComplexUnion ivalue
|
418
|
+
);
|
419
|
+
|
420
|
+
/**
|
421
|
+
* One-way method that tests the adapter ability to handle structure
|
422
|
+
* (struct) data types. The method raises a complex exception when
|
423
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
424
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
425
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
426
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
427
|
+
* @author Kunal Ashar
|
428
|
+
* @param in ComplexStructure ivalue: Takes a reference to a struct
|
429
|
+
* value. Since the direction is "in" only, the method takes in a value
|
430
|
+
* and does not return it back to the caller
|
431
|
+
* @return void
|
432
|
+
*/
|
433
|
+
oneway void test_struct
|
434
|
+
(
|
435
|
+
in ComplexStructure ivalue
|
436
|
+
);
|
437
|
+
|
438
|
+
/**
|
439
|
+
* One-way method that tests the adapter ability to handle array data
|
440
|
+
* types. The method raises a complex exception when passed the correct
|
441
|
+
* parameter <CODE>(Server -ex)</CODE>.<BR>
|
442
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
443
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
444
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
445
|
+
* @author Kunal Ashar
|
446
|
+
* @param in ComplexArray ivalue: Takes a reference to a array value.
|
447
|
+
* Since the direction is "in" only, the method takes in a value and
|
448
|
+
* does not return it back to the caller
|
449
|
+
* @return void
|
450
|
+
*/
|
451
|
+
oneway void test_array
|
452
|
+
(
|
453
|
+
in ComplexArray ivalue
|
454
|
+
);
|
455
|
+
|
456
|
+
/**
|
457
|
+
* One-way method that tests the adapter ability to handle sequence
|
458
|
+
* data types. The method raises a complex exception when passed the
|
459
|
+
* correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
460
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
461
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
462
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
463
|
+
* @author Kunal Ashar
|
464
|
+
* @param in ComplexSequence ivalue: Takes a reference to a sequence
|
465
|
+
* value. Since the direction is "in" only, the method takes in a value
|
466
|
+
* and does not return it back to the caller
|
467
|
+
* @return void
|
468
|
+
*/
|
469
|
+
oneway void test_sequence
|
470
|
+
(
|
471
|
+
in ComplexSequence ivalue
|
472
|
+
);
|
473
|
+
|
474
|
+
/**
|
475
|
+
* One-way method that tests the adapter ability to handle any
|
476
|
+
* data types Although this is a test for complex data types, this
|
477
|
+
* method is a good place to start to test the adapter's core
|
478
|
+
* functionality. The method raises a complex exception when
|
479
|
+
* passed the correct parameter <CODE>(Server -ex)</CODE>.<BR>
|
480
|
+
* It is used in both CORBA to SDK and SDK to CORBA one-way scenarios.
|
481
|
+
* For CORBA to SDK, the CORBA client will be written with this method.
|
482
|
+
* For SDK to CORBA, the CORBA server will be written with this method.
|
483
|
+
* @author Kunal Ashar
|
484
|
+
* @param in any ivalue: Takes a reference to an any value. Since
|
485
|
+
* the direction is "in" only, the method takes in a value and does
|
486
|
+
* not return it back to the caller. Typically, the value
|
487
|
+
* "Invoking..." is passed into the parameter
|
488
|
+
* @return void
|
489
|
+
*/
|
490
|
+
oneway void test_any
|
491
|
+
(
|
492
|
+
in any ivalue
|
493
|
+
);
|
494
|
+
};
|
495
|
+
};
|