2 //=============================================================================
6 * This class implements the Counter IDL interface.
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 //=============================================================================
16 // -- App. Specific Include --
18 #include "Policy_Tester.h"
21 class Counter_Servant
: public POA_Counter
25 // = Ctor-Dtor Declaration
27 Counter_Servant (Policy_Tester
*policy_tester
);
28 virtual ~Counter_Servant (void);
30 // = Counter Interface Methods Overloading.
32 virtual void increment (void);
34 virtual CORBA::Long
get_count (void);
36 virtual void reset (void);
38 virtual void shutdown (void);
42 Policy_Tester
*policy_tester_
;
45 #endif /*COUNTER_I_H_*/