diff options
Diffstat (limited to 'tests/MT_NoUpcall_Client_Leader/chatter.h')
-rw-r--r-- | tests/MT_NoUpcall_Client_Leader/chatter.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/MT_NoUpcall_Client_Leader/chatter.h b/tests/MT_NoUpcall_Client_Leader/chatter.h new file mode 100644 index 00000000000..8e5a313a0fa --- /dev/null +++ b/tests/MT_NoUpcall_Client_Leader/chatter.h @@ -0,0 +1,26 @@ +// $Id$ + +#if !defined( CHATTER_H) +#define CHATTER_H + +#include "worker.h" + +#include "ace/Condition_T.h" +#include "ace/Mutex.h" + +class Chatter : public Worker +{ +public: + Chatter (CORBA::ORB_ptr orb, const ACE_TCHAR *ior, ACE_Condition<ACE_Mutex>& cond); + virtual int svc (void); + int farewell (); + long nrequests (void); + long nreplies (void); +public: + long nrequests_; + long nreplies_; +private: + const ACE_TCHAR* ior_; + ACE_Condition<ACE_Mutex>& cond_; +}; +#endif /* CHATTER_H */ |