Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_1270_Regression / Server_Timer.h
blobb9e00941a9708fdca002961a9ec0efc700270ab7
1 /**
2 * @file Server_Timer.h
4 * @author Carlos O'Ryan <coryan@atdesk.com>
5 */
7 #ifndef Server_Timer__h_
8 #define Server_Timer__h_
9 #include /**/ "ace/pre.h"
11 #include "TestC.h"
12 #include "ace/Event_Handler.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 class Server_Timer : public ACE_Event_Handler
20 public:
21 /// Constructor
22 Server_Timer (Test::Echo_ptr echo, ACE_Reactor * reactor);
24 void activate ();
26 /// Thread entry point
27 int handle_timeout(ACE_Time_Value const & tv, void const *);
29 private:
30 /// Reference to the test interface
31 Test::Echo_var echo_;
34 #include /**/ "ace/post.h"
35 #endif /* Server_Timer__h_ */