Use =default for skeleton copy constructor
[ACE_TAO.git] / ACE / tests / Reactor_Fairness_Test.h
blob848a817ba92a55366efdf35b96c6a5bac4960282
2 //=============================================================================
3 /**
4 * @file Reactor_Fairness_Test.h
6 * This file includes template class definitions for the
7 * Reactor_Fairness_Test.cpp program.
9 * @author Steve Huston <shuston@riverace.com>
11 //=============================================================================
14 #ifndef ACE_TESTS_REACTOR_FAIRNESS_TEST_H
15 #define ACE_TESTS_REACTOR_FAIRNESS_TEST_H
17 #include "ace/SOCK_Stream.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "ace/Svc_Handler.h"
25 /**
26 * @class Read_Handler
28 * @brief Simple class for reading in the data
30 class Read_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
32 public:
33 Read_Handler () : chunks_in (0) {}
35 /// The Svc_Handler callbacks.
36 virtual int handle_input (ACE_HANDLE h);
37 virtual int handle_close (ACE_HANDLE handle,
38 ACE_Reactor_Mask close_mask);
40 private:
41 unsigned int chunks_in;
44 #endif /* ACE_TESTS_REACTOR_FAIRNESS_TEST_H */