2 //=============================================================================
4 * @file Thread_Pool_Reactor_Resume_Test.h
6 * It is only used by Thread_Pool_Reactor_Test.cpp.
8 * @author Irfan Pyarali <irfan@cs.wustl.edu> Nanbor Wang <nanbor@cs.wustl.edu>
10 //=============================================================================
13 #ifndef ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H
14 #define ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H
16 #include "ace/SOCK_Stream.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Svc_Handler.h"
25 * @class Request_Handler
27 * @brief This class is the Svc_Handler used by <Acceptor>.
29 class Request_Handler
: public ACE_Svc_Handler
<ACE_SOCK_STREAM
, ACE_MT_SYNCH
>
32 /// The default constructor makes sure the right reactor is used.
33 Request_Handler (ACE_Thread_Manager
*tm
= 0);
38 virtual int open (void * = 0);
41 virtual int handle_input (ACE_HANDLE fd
= ACE_INVALID_HANDLE
);
42 virtual int handle_close (ACE_HANDLE fd
, ACE_Reactor_Mask
= 0);
43 virtual int resume_handler ();
49 #endif /* ACE_TESTS_THREAD_POOL_REACTOR_RESUME_TEST_H */