4 #include
"Callback.idl"
6 exception FooException
{};
7 exception TestException
{};
9 typedef sequence
<char, 32> Bounded_Var_Size
;
10 typedef sequence
<char> Unbounded_Var_Size
;
11 typedef long Fixed_Array
[20];
12 typedef string Var_Array
[3];
13 typedef string<20> String_20
;
17 short minute
; // 0 - 59
18 short second
; // 0 - 59
22 /// void return-type, no arguments
25 /// void return-type, 1 "in" argument
26 void op2
(in long value
);
28 /// long return-type, no arguments
31 /// one-way version of op2
32 oneway
void op4
(in long value
);
34 /// Operation that always raises an exception.
35 void op5
() raises
(FooException
);
37 /// Operation with the inout parameter.
38 boolean op6
(in string user_name
,
39 inout
string message);
41 oneway
void test_unbounded_string_arg
(in string message);
43 oneway
void test_bounded_string_arg
(in String_20
message);
45 oneway
void test_fixed_array_arg
(in Fixed_Array
message);
47 oneway
void test_var_array_arg
(in Var_Array messages
);
49 oneway
void test_bounded_var_size_arg
(in Bounded_Var_Size
message);
51 oneway
void test_unbounded_var_size_arg
(in Unbounded_Var_Size
message);
53 oneway
void test_fixed_size_arg
(in TimeOfDay t
);
55 oneway
void test_special_basic_arg
(in boolean value
);
57 oneway
void test_objref_arg
(in Callback cb
);
59 void test_fixed_size_arg_two_way
(in TimeOfDay t
);
61 /// Operation with the object reference parameter.
62 void callback_object
(in Callback cb
);
64 /// Operation that invoke remote operation on
66 void test_callback
() raises
(FooException
);
68 /// Client calls this last. It will shutdown the server.