Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / tests / Thread_Pool_Reactor_Test.h
bloba1abf6852a9e5de30ec7d6ebc420c96714e3157c
2 //=============================================================================
3 /**
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>
9 */
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)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Svc_Handler.h"
24 /**
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>
31 public:
32 /// The default constructor makes sure the right reactor is used.
33 Request_Handler (ACE_Thread_Manager *tm = 0);
35 protected:
36 virtual int handle_input (ACE_HANDLE fd = ACE_INVALID_HANDLE);
37 virtual int handle_close (ACE_HANDLE fd, ACE_Reactor_Mask = 0);
39 private:
40 size_t nr_msgs_rcvd_;
43 #endif /* ACE_TESTS_THREAD_POOL_REACTOR_TEST_H */