ACE+TAO-7_0_8
[ACE_TAO.git] / TAO / tests / DII_Collocation_Tests / oneway / Hello.h
blob8fc536716933a4ef4b529987a6fca852ea0bfedb
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
39 virtual
40 void test_unbounded_string_arg (
41 const char * message
44 virtual
45 void test_bounded_string_arg (
46 const char * message
49 virtual
50 void test_fixed_array_arg (
51 const ::Test::Fixed_Array message
54 virtual
55 void test_var_array_arg (
56 const ::Test::Var_Array messages
59 virtual
60 void test_bounded_var_size_arg (
61 const ::Test::Bounded_Var_Size_Arg & message
64 virtual
65 void test_unbounded_var_size_arg (
66 const ::Test::Unbounded_Var_Size_Arg & message
69 virtual
70 void test_fixed_size_arg (
71 const ::Test::TimeOfDay & t
74 virtual
75 void test_special_basic_arg (
76 ::CORBA::Char value
79 virtual
80 void test_objref_arg (
81 ::Test::Simple_Test_ptr test
84 virtual
85 void test_object_arg (
86 ::CORBA::Object_ptr o
89 virtual
90 void test_args_1 (
91 ::CORBA::Object_ptr arg1,
92 ::CORBA::Char arg2,
93 ::Test::Simple_Test_ptr arg3
96 virtual
97 void test_args_2 (
98 const char * arg1,
99 const ::Test::Fixed_Array arg2,
100 const ::Test::TimeOfDay & arg3
103 virtual
104 void test_args_3 (
105 const char * arg1,
106 const ::Test::Bounded_Var_Size_Arg & arg2,
107 const ::Test::Unbounded_Var_Size_Arg & arg3,
108 const ::Test::Var_Array arg4
111 virtual char * get_string (void);
113 virtual
114 char * test_unbounded_string (
115 const char * s1,
116 char *& s2,
117 CORBA::String_out s3
120 virtual void shutdown (void);
122 CORBA::ULong error_count () const;
124 private:
125 /// Use an ORB reference to convert strings to objects and shutdown
126 /// the application.
127 CORBA::ORB_var orb_;
129 ACE_thread_t thr_id_;
131 CORBA::ULong error_count_;
135 #include /**/ "ace/post.h"
136 #endif /* HELLO_H */