3 //=============================================================================
5 * @file Asynch_Pseudo_Task.h
7 * @author Alexander Libman <alibman@ihug.com.au>
9 //=============================================================================
11 #ifndef ACE_ASYNCH_PSEUDO_TASK_H
12 #define ACE_ASYNCH_PSEUDO_TASK_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "ace/config-all.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Reactor.h"
23 #include "ace/Select_Reactor.h"
26 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
29 * @class ACE_Asynch_Pseudo_Task
31 class ACE_Export ACE_Asynch_Pseudo_Task
: public ACE_Task
<ACE_NULL_SYNCH
>
34 ACE_Asynch_Pseudo_Task();
35 virtual ~ACE_Asynch_Pseudo_Task();
40 int register_io_handler (ACE_HANDLE handle
,
41 ACE_Event_Handler
*handler
,
42 ACE_Reactor_Mask mask
,
45 int remove_io_handler (ACE_HANDLE handle
);
46 int remove_io_handler (ACE_Handle_Set
&set
);
47 int resume_io_handler (ACE_HANDLE handle
);
48 int suspend_io_handler (ACE_HANDLE handle
);
53 /// Should be initialized before reactor_
54 ACE_Select_Reactor select_reactor_
;
59 ACE_END_VERSIONED_NAMESPACE_DECL
61 #include /**/ "ace/post.h"
63 #endif /* ACE_ASYNCH_PSEUDO_TASK_H */