2 //=============================================================================
4 * @file Thread_Pool_Reactor_Resume_Test.h
6 * This class gets its own header file to work around AIX C++
7 * compiler "features" related to template instantiation... It is
8 * only used by Thread_Pool_Reactor_Test.cpp.
10 * @author Irfan Pyarali <irfan@cs.wustl.edu> Nanbor Wang <nanbor@cs.wustl.edu>
12 //=============================================================================
15 #ifndef ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H
16 #define ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H
18 #include "ace/SOCK_Stream.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "ace/Svc_Handler.h"
27 * @class Request_Handler
29 * @brief This class is the Svc_Handler used by <Acceptor>.
31 class Request_Handler
: public ACE_Svc_Handler
<ACE_SOCK_STREAM
, ACE_MT_SYNCH
>
35 /// The default constructor makes sure the right reactor is used.
36 Request_Handler (ACE_Thread_Manager
*tm
= 0);
39 ~Request_Handler (void);
41 virtual int open (void * = 0);
44 virtual int handle_input (ACE_HANDLE fd
= ACE_INVALID_HANDLE
);
45 virtual int handle_close (ACE_HANDLE fd
, ACE_Reactor_Mask
= 0);
46 virtual int resume_handler (void);
52 #endif /* ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H */