diff options
Diffstat (limited to 'tests/CLASSIX/CLASSIX_Reactor_Test.h')
-rw-r--r-- | tests/CLASSIX/CLASSIX_Reactor_Test.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tests/CLASSIX/CLASSIX_Reactor_Test.h b/tests/CLASSIX/CLASSIX_Reactor_Test.h deleted file mode 100644 index 877c930df30..00000000000 --- a/tests/CLASSIX/CLASSIX_Reactor_Test.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// Reactor_Test.h -// -// = DESCRIPTION -// This file contains class definitions needed for template -// instantiation in the Reactor_Test.cpp file. -// Based on $ACE_ROOT/tests/MT_Reactor_Timer_Test.h -// -// = AUTHOR -// Wei Chiang -// -// ============================================================================ - -#ifndef __CLASSIX_REACTOR_TEST_H -#define __CLASSIX_REACTOR_TEST_H - -#include "ace/Reactor.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" - -class Time_Handler : public ACE_Task<ACE_SYNCH> -{ -public: - Time_Handler (void); - - void setup (void); - - virtual int svc (void); - // Run by a daemon thread to handle deferred processing. - - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - -private: - enum - { - TIMER_SLOTS = 10 - }; - - long timer_id_[TIMER_SLOTS]; - int step_; - ACE_Reactor my_reactor_; -}; - -#endif /* __CLASSIX_REACTOR_TEST_H */ |