=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / DII_Collocation_Tests / oneway / Test.idl
blob181bdfee5904a0897eec8fd654c9fc5b7779563f
2 /// Put the interfaces in a module, to avoid global namespace pollution
3 module Test
5 const unsigned long FIX_ARRAY_SIZE = 10;
6 const unsigned long VAR_ARRAY_SIZE = 3;
7 const unsigned long BOUNDED_STRING_SIZE = 10;
8 const unsigned long BOUNDED_VAR_SIZE = 10;
10 typedef sequence<char, BOUNDED_VAR_SIZE> Bounded_Var_Size_Arg;
11 typedef sequence<char> Unbounded_Var_Size_Arg;
12 typedef long Fixed_Array[FIX_ARRAY_SIZE];
13 typedef string Var_Array [VAR_ARRAY_SIZE];
14 typedef string<BOUNDED_STRING_SIZE> Bounded_String;
17 struct TimeOfDay {
18 short hour; // 0 - 23
19 short minute; // 0 - 59
20 short second; // 0 - 59
23 interface Simple_Test
25 void test_method(inout unsigned long error_count);
28 /// A very simple interface
29 interface Hello
31 oneway void test_basic_arg(in long value);
33 oneway void test_unbounded_string_arg(in string message);
35 oneway void test_bounded_string_arg(in Bounded_String message);
37 oneway void test_fixed_array_arg(in Fixed_Array message);
39 oneway void test_var_array_arg(in Var_Array messages);
41 oneway void test_bounded_var_size_arg(in Bounded_Var_Size_Arg message);
43 oneway void test_unbounded_var_size_arg(in Unbounded_Var_Size_Arg message);
45 oneway void test_fixed_size_arg (in TimeOfDay t);
47 oneway void test_special_basic_arg(in char value);
49 oneway void test_objref_arg (in Simple_Test test);
51 oneway void test_object_arg (in Object o);
53 oneway void test_args_1 (in Object arg1,
54 in char arg2,
55 in Simple_Test arg3);
57 oneway void test_args_2 (in string arg1,
58 in Fixed_Array arg2,
59 in TimeOfDay arg3);
61 oneway void test_args_3 (in Bounded_String arg1,
62 in Bounded_Var_Size_Arg arg2,
63 in Unbounded_Var_Size_Arg arg3,
64 in Var_Array arg4);
66 /// Return a simple string
67 string get_string ();
69 /// A method to shutdown the ORB
70 /**
71 * This method is used to simplify the test shutdown process
73 oneway void shutdown ();