2 /* Handles timeouts. */
4 #ifndef _HANDLE_TIMEOUT_H
5 #define _HANDLE_TIMEOUT_H
7 #include "ace/Service_Config.h"
8 #include "ace/Reactor.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 #include "ace/Service_Types.h"
15 #include "ace/Log_Msg.h"
16 #include "ace/svc_export.h"
18 class ACE_Svc_Export Handle_Timeout
: public ACE_Service_Object
22 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
23 virtual int info (ACE_TCHAR
**, size_t) const;
27 virtual ACE_HANDLE
get_handle () const;
28 virtual int handle_timeout (const ACE_Time_Value
&tv
, const void *arg
);
33 extern ACE_Service_Object_Type t1
;
35 #if defined (__ACE_INLINE__)
36 #define ACE_INLINE inline
37 #include "Handle_Timeout.inl"
40 #endif /* __ACE_INLINE__ */
42 #endif /* _HANDLE_TIMEOUT_H */