Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / SSL / Thread_Pool_Reactor_SSL_Test.h
blob487756358624cd4a135cc293c54bfd4a567ef3dd
2 //=============================================================================
3 /**
4 * @file Thread_Pool_Reactor_SSL_Test.h
6 * It is only used by Thread_Pool_Reactor_Test_SSL.cpp.
8 * @author Irfan Pyarali <irfan@cs.wustl.edu> Nanbor Wang <nanbor@cs.wustl.edu>
9 */
10 //=============================================================================
12 #ifndef ACE_TESTS_THREAD_POOL_REACTOR_TEST_SSL_H
13 #define ACE_TESTS_THREAD_POOL_REACTOR_TEST_SSL_H
15 #include "ace/SSL/SSL_SOCK_Stream.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Svc_Handler.h"
23 /// This class is the Svc_Handler used by <Acceptor>.
24 class Request_Handler : public ACE_Svc_Handler<ACE_SSL_SOCK_Stream,
25 ACE_MT_SYNCH>
27 public:
28 /// The default constructor makes sure the right reactor is used.
29 Request_Handler (ACE_Thread_Manager *tm = 0);
31 protected:
32 virtual int handle_input (ACE_HANDLE fd = ACE_INVALID_HANDLE);
33 virtual int handle_close (ACE_HANDLE fd, ACE_Reactor_Mask = 0);
35 private:
36 size_t nr_msgs_rcvd_;
39 #endif /* ACE_TESTS_THREAD_POOL_REACTOR_TEST_SSL_H */