2 //=============================================================================
4 * @file Thread_Pool_Reactor_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_TEST_H
14 #define ACE_TESTS_THREAD_POOL_REACTOR_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);
36 virtual int handle_input (ACE_HANDLE fd
= ACE_INVALID_HANDLE
);
37 virtual int handle_close (ACE_HANDLE fd
, ACE_Reactor_Mask
= 0);
43 #endif /* ACE_TESTS_THREAD_POOL_REACTOR_TEST_H */