6 #include "ace/SString.h"
11 class Foo_i
: public virtual POA_Foo
15 Foo_i(const char* servant_name
, FooServantList
* mgr
);
18 virtual void op1(void);
20 virtual void op2(CORBA::Long value
);
22 virtual CORBA::Long
op3(void);
24 virtual void op4(CORBA::Long value
);
26 virtual void op5(void);
28 virtual CORBA::Boolean
op6 (
29 const char * user_name
,
33 virtual void test_unbounded_string_arg (
37 virtual void test_bounded_string_arg (
41 virtual void test_fixed_array_arg (
42 const ::Fixed_Array message
45 virtual void test_var_array_arg (
46 const ::Var_Array messages
49 virtual void test_bounded_var_size_arg (
50 const ::Bounded_Var_Size
& message
53 virtual void test_unbounded_var_size_arg (
54 const ::Unbounded_Var_Size
& message
57 virtual void test_fixed_size_arg (
61 virtual void test_fixed_size_arg_two_way (
65 virtual void test_special_basic_arg (
66 ::CORBA::Boolean value
69 virtual void test_objref_arg (
73 virtual void callback_object (
77 virtual void test_callback (
80 virtual void done(void);
82 void active (bool flag
);
88 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, CORBA::Long
> AtomicLong
;
89 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, unsigned> AtomicUnsigned
;
90 typedef ACE_Atomic_Op
<TAO_SYNCH_MUTEX
, bool> AtomicBool
;
93 AtomicUnsigned count_op1_
;
94 AtomicUnsigned count_op2_
;
95 AtomicUnsigned count_op3_
;
96 AtomicUnsigned count_op4_
;
97 AtomicUnsigned count_op5_
;
99 ACE_CString servant_name_
;
100 FooServantList
* mgr_
;
102 Callback_var callback_
;