Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / tests / Reactor_Fairness_Test.h
blob468439c218ab11fb30b83f1f8bba9797e968956f
2 //=============================================================================
3 /**
4 * @file Reactor_Fairness_Test.h
6 * This file includes template class definitions for the
7 * Reactor_Fairness_Test.cpp program. This class gets its own
8 * header file to work around AIX C++ compiler "features" related
9 * to template instantiation...
11 * @author Steve Huston <shuston@riverace.com>
13 //=============================================================================
16 #ifndef ACE_TESTS_REACTOR_FAIRNESS_TEST_H
17 #define ACE_TESTS_REACTOR_FAIRNESS_TEST_H
19 #include "ace/SOCK_Stream.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "ace/Svc_Handler.h"
27 /**
28 * @class Read_Handler
30 * @brief Simple class for reading in the data
32 class Read_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
34 public:
35 Read_Handler () : chunks_in (0) {}
37 /// The Svc_Handler callbacks.
38 virtual int handle_input (ACE_HANDLE h);
39 virtual int handle_close (ACE_HANDLE handle,
40 ACE_Reactor_Mask close_mask);
42 private:
43 unsigned int chunks_in;
46 #endif /* ACE_TESTS_REACTOR_FAIRNESS_TEST_H */