Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / DII_Collocation_Tests / twoway / Hello.h
blob4050797f77240248e9b453909cd8740edaafe768
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 (void);
15 //Destructor
16 virtual ~Test_Simple_Test_i (void);
18 virtual
19 void test_method (
20 ::CORBA::ULong & error_count
24 /// Implement the Test::Hello interface
25 class Hello
26 : public virtual POA_Test::Hello
28 public:
29 /// Constructor
30 Hello (CORBA::ORB_ptr orb,
31 ACE_thread_t thr_id);
33 // = The skeleton methods
34 virtual
35 void test_basic_arg (
36 ::CORBA::Long basic,
37 ::CORBA::Long_out x
40 virtual
41 void test_unbounded_string_arg (
42 const char * message
45 virtual
46 void test_unbounded_string_arg_out (
47 const char * message,
48 ::CORBA::String_out out_message
51 virtual
52 void test_bounded_string_arg (
53 const char * message
56 virtual
57 void test_fixed_array_arg (
58 const ::Test::Fixed_Array message
61 virtual
62 void test_var_array_arg (
63 const ::Test::Var_Array messages
66 virtual
67 void test_bounded_var_size_arg (
68 const ::Test::Bounded_Var_Size_Arg & message
71 virtual
72 void test_unbounded_var_size_arg (
73 const ::Test::Unbounded_Var_Size_Arg & message
76 virtual
77 void test_fixed_size_arg (
78 const ::Test::TimeOfDay & t
81 virtual
82 void test_special_basic_arg (
83 ::CORBA::Char value
86 virtual
87 void test_objref_arg (
88 ::Test::Simple_Test_ptr test
91 virtual
92 void test_object_arg (
93 ::CORBA::Object_ptr o
96 virtual
97 void test_args_1 (
98 ::CORBA::Object_ptr arg1,
99 ::CORBA::Char arg2,
100 ::Test::Simple_Test_ptr arg3
103 virtual
104 void test_args_2 (
105 const char * arg1,
106 const ::Test::Fixed_Array arg2,
107 const ::Test::TimeOfDay & arg3
110 virtual
111 void test_args_3 (
112 const char * arg1,
113 const ::Test::Bounded_Var_Size_Arg & arg2,
114 const ::Test::Unbounded_Var_Size_Arg & arg3,
115 const ::Test::Var_Array arg4
118 virtual char * get_string (void);
120 virtual
121 char * test_unbounded_string (
122 const char * s1,
123 char *& s2,
124 CORBA::String_out s3
127 virtual void shutdown (void);
129 CORBA::ULong error_count () const;
131 private:
132 /// Use an ORB reference to convert strings to objects and shutdown
133 /// the application.
134 CORBA::ORB_var orb_;
136 ACE_thread_t thr_id_;
138 CORBA::ULong error_count_;
142 #include /**/ "ace/post.h"
143 #endif /* HELLO_H */