Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / DII_Collocation_Tests / oneway / Hello.h
blob6114cf258d2ecf8fc5e3a3c8df0882566a57a134
2 #ifndef HELLO_H
3 #define HELLO_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 class Test_Simple_Test_i
9 : public virtual POA_Test::Simple_Test
11 public:
12 //Constructor
13 Test_Simple_Test_i ();
15 //Destructor
16 virtual ~Test_Simple_Test_i ();
18 virtual
19 void test_method (::CORBA::ULong & error_count);
22 /// Implement the Test::Hello interface
23 class Hello
24 : public virtual POA_Test::Hello
26 public:
27 /// Constructor
28 Hello (CORBA::ORB_ptr orb,
29 ACE_thread_t thr_id);
31 // = The skeleton methods
32 virtual
33 void test_basic_arg (::CORBA::Long basic);
35 virtual
36 void test_unbounded_string_arg (const char * message);
38 virtual
39 void test_bounded_string_arg (const char * message);
41 virtual
42 void test_fixed_array_arg (const ::Test::Fixed_Array message);
44 virtual
45 void test_var_array_arg (const ::Test::Var_Array messages);
47 virtual
48 void test_bounded_var_size_arg (const ::Test::Bounded_Var_Size_Arg & message);
50 virtual
51 void test_unbounded_var_size_arg (const ::Test::Unbounded_Var_Size_Arg & message);
53 virtual
54 void test_fixed_size_arg (const ::Test::TimeOfDay & t);
56 virtual
57 void test_special_basic_arg (::CORBA::Char value);
59 virtual
60 void test_objref_arg (::Test::Simple_Test_ptr test);
62 virtual
63 void test_object_arg (::CORBA::Object_ptr o);
65 virtual
66 void test_args_1 (
67 ::CORBA::Object_ptr arg1,
68 ::CORBA::Char arg2,
69 ::Test::Simple_Test_ptr arg3);
71 virtual
72 void test_args_2 (
73 const char * arg1,
74 const ::Test::Fixed_Array arg2,
75 const ::Test::TimeOfDay & arg3);
77 virtual
78 void test_args_3 (
79 const char * arg1,
80 const ::Test::Bounded_Var_Size_Arg & arg2,
81 const ::Test::Unbounded_Var_Size_Arg & arg3,
82 const ::Test::Var_Array arg4);
84 virtual char * get_string ();
86 virtual
87 char * test_unbounded_string (
88 const char * s1,
89 char *& s2,
90 CORBA::String_out s3);
92 virtual void shutdown ();
94 CORBA::ULong error_count () const;
96 private:
97 /// Use an ORB reference to convert strings to objects and shutdown
98 /// the application.
99 CORBA::ORB_var orb_;
101 ACE_thread_t thr_id_;
103 CORBA::ULong error_count_;
107 #include /**/ "ace/post.h"
108 #endif /* HELLO_H */