=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / CSD_Strategy_Tests / TP_Foo_B / Foo_B.idl
blobe5ee97f163e75c1d19469d5552a0dd4d3e16b739
1 #ifndef FOO_B_IDL
2 #define FOO_B_IDL
4 #include "FooException.idl"
5 #include "Callback.idl"
8 typedef sequence<char, 32> Bounded_Var_Size;
9 typedef sequence<char> Unbounded_Var_Size;
10 typedef long Fixed_Array[20];
11 typedef string Var_Array [3];
12 typedef string<20> string_20;
14 struct TimeOfDay {
15 short hour; // 0 - 23
16 short minute; // 0 - 59
17 short second; // 0 - 59
19 interface Foo_B
21 /// void return-type, no arguments
22 void op1();
24 /// void return-type, 1 "in" argument
25 void op2(in long value);
27 /// long return-type, 1 "in" argument
28 long op3(in long value);
30 /// one-way version of op2
31 oneway void op4(in long value);
33 /// Operation that always raises an exception.
34 void op5() raises (FooException);
36 /// Test fixed size "in" argument and the "inout" parameter.
37 boolean op6(in TimeOfDay t,
38 inout string message);
40 /// Callback test.
42 /// Pass the callback object and the server invoke operation on
43 /// the callback object reference.
44 void op7 (in Callback cb) raises (FooException);
46 oneway void test_unbounded_string_arg(in string message);
48 oneway void test_bounded_string_arg(in string_20 message);
50 oneway void test_fixed_array_arg(in Fixed_Array message);
52 oneway void test_var_array_arg(in Var_Array messages);
54 oneway void test_bounded_var_size_arg(in Bounded_Var_Size message);
56 oneway void test_unbounded_var_size_arg(in Unbounded_Var_Size message);
58 oneway void test_fixed_size_arg (in TimeOfDay t);
60 oneway void test_special_basic_arg(in boolean value, in long client_id);
62 oneway void test_objref_arg (in Callback cb);
64 /// Client calls this last. The last client to claim that it is
65 /// done will cause the server to shutdown.
66 void done();
70 #endif