diff options
Diffstat (limited to 'TAO/tests/LongUpcalls/Controller.h')
-rw-r--r-- | TAO/tests/LongUpcalls/Controller.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/tests/LongUpcalls/Controller.h b/TAO/tests/LongUpcalls/Controller.h new file mode 100644 index 00000000000..a3992eb5c59 --- /dev/null +++ b/TAO/tests/LongUpcalls/Controller.h @@ -0,0 +1,30 @@ +// $Id$ + +#ifndef LONGUPCALLS_CONTROLLER_H +#define LONGUPCALLS_CONTROLLER_H + +#include "TestS.h" + +class Controller + : public virtual POA_Test::Controller +{ +public: + Controller (void); + // Constructor + + void dump_results (void); + // Print out the results and any errors + + // = The skeleton methods + virtual void worker_started (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void worker_finished (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + TAO_SYNCH_MUTEX mutex_; + CORBA::ULong start_count_; + CORBA::ULong finish_count_; +}; + +#endif /* LONGUPCALLS_CONTROLLER_H */ |