6 #include "ace/SString.h"
11 class Foo_i
: public virtual POA_Foo
14 Foo_i(const char* servant_name
, FooServantList
* mgr
);
19 virtual void op2(CORBA::Long value
);
21 virtual CORBA::Long
op3();
23 virtual void op4(CORBA::Long value
);
27 virtual CORBA::Boolean
op6 (
28 const char * user_name
,
31 virtual void test_unbounded_string_arg (
32 const char * message
);
34 virtual void test_bounded_string_arg (
35 const char * message
);
37 virtual void test_fixed_array_arg (
38 const ::Fixed_Array message
);
40 virtual void test_var_array_arg (
41 const ::Var_Array messages
);
43 virtual void test_bounded_var_size_arg (
44 const ::Bounded_Var_Size
& message
);
46 virtual void test_unbounded_var_size_arg (
47 const ::Unbounded_Var_Size
& message
);
49 virtual void test_fixed_size_arg (
50 const ::TimeOfDay
& t
);
52 virtual void test_fixed_size_arg_two_way (
53 const ::TimeOfDay
& t
);
55 virtual void test_special_basic_arg (
56 ::CORBA::Boolean value
);
58 virtual void test_objref_arg (
61 virtual void callback_object (
64 virtual void test_callback ();
68 void active (bool flag
);
73 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, CORBA::Long
> AtomicLong
;
74 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, unsigned> AtomicUnsigned
;
75 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, bool> AtomicBool
;
78 AtomicUnsigned count_op1_
;
79 AtomicUnsigned count_op2_
;
80 AtomicUnsigned count_op3_
;
81 AtomicUnsigned count_op4_
;
82 AtomicUnsigned count_op5_
;
84 ACE_CString servant_name_
;
87 Callback_var callback_
;