This class simply defines how Select_Reactor's basic interface functions should look like and provides a common base class for Select_Reactor
using various locking mechanism.
More...
|
| ACE_Select_Reactor_Impl (bool mask_signals=true) |
| Constructor. More...
|
|
virtual int | purge_pending_notifications (ACE_Event_Handler *=0, ACE_Reactor_Mask=ACE_Event_Handler::ALL_EVENTS_MASK) |
|
virtual int | resumable_handler (void) |
|
virtual | ~ACE_Reactor_Impl (void) |
| Close down and release all resources. More...
|
|
virtual int | open (size_t size, bool restart=false, ACE_Sig_Handler *=0, ACE_Timer_Queue *=0, int disable_notify_pipe=0, ACE_Reactor_Notify *=0)=0 |
| Initialization. More...
|
|
virtual int | current_info (ACE_HANDLE, size_t &)=0 |
|
virtual int | set_sig_handler (ACE_Sig_Handler *signal_handler)=0 |
| Use a user specified signal handler instead. More...
|
|
virtual int | timer_queue (ACE_Timer_Queue *tq)=0 |
| Set a user-specified timer queue. More...
|
|
virtual ACE_Timer_Queue * | timer_queue (void) const =0 |
| Return the current ACE_Timer_Queue. More...
|
|
virtual int | close (void)=0 |
| Close down and release all resources. More...
|
|
virtual int | work_pending (const ACE_Time_Value &max_wait_time=ACE_Time_Value::zero)=0 |
|
virtual int | handle_events (ACE_Time_Value *max_wait_time=0)=0 |
|
virtual int | alertable_handle_events (ACE_Time_Value *max_wait_time=0)=0 |
|
virtual int | handle_events (ACE_Time_Value &max_wait_time)=0 |
|
virtual int | alertable_handle_events (ACE_Time_Value &max_wait_time)=0 |
|
virtual int | deactivated (void)=0 |
|
virtual void | deactivate (int do_stop)=0 |
|
virtual int | register_handler (ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)=0 |
|
virtual int | register_handler (ACE_HANDLE io_handle, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)=0 |
|
virtual int | register_handler (ACE_Event_Handler *event_handler, ACE_HANDLE event_handle=ACE_INVALID_HANDLE)=0 |
|
virtual int | register_handler (ACE_HANDLE event_handle, ACE_HANDLE io_handle, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)=0 |
|
virtual int | register_handler (const ACE_Handle_Set &handles, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)=0 |
| Register event_handler with all the handles in the <Handle_Set>. More...
|
|
virtual int | register_handler (int signum, ACE_Event_Handler *new_sh, ACE_Sig_Action *new_disp=0, ACE_Event_Handler **old_sh=0, ACE_Sig_Action *old_disp=0)=0 |
|
virtual int | register_handler (const ACE_Sig_Set &sigset, ACE_Event_Handler *new_sh, ACE_Sig_Action *new_disp=0)=0 |
|
virtual int | remove_handler (ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask)=0 |
|
virtual int | remove_handler (ACE_HANDLE handle, ACE_Reactor_Mask mask)=0 |
|
virtual int | remove_handler (const ACE_Handle_Set &handle_set, ACE_Reactor_Mask mask)=0 |
|
virtual int | remove_handler (int signum, ACE_Sig_Action *new_disp, ACE_Sig_Action *old_disp=0, int sigkey=-1)=0 |
|
virtual int | remove_handler (const ACE_Sig_Set &sigset)=0 |
| Calls <remove_handler> for every signal in sigset. More...
|
|
virtual int | suspend_handler (ACE_Event_Handler *event_handler)=0 |
|
virtual int | suspend_handler (ACE_HANDLE handle)=0 |
| Suspend handle temporarily. More...
|
|
virtual int | suspend_handler (const ACE_Handle_Set &handles)=0 |
| Suspend all handles in handle set temporarily. More...
|
|
virtual int | suspend_handlers (void)=0 |
| Suspend all <handles> temporarily. More...
|
|
virtual int | resume_handler (ACE_Event_Handler *event_handler)=0 |
|
virtual int | resume_handler (ACE_HANDLE handle)=0 |
| Resume handle. More...
|
|
virtual int | resume_handler (const ACE_Handle_Set &handles)=0 |
| Resume all handles in handle set. More...
|
|
virtual int | resume_handlers (void)=0 |
| Resume all <handles>. More...
|
|
virtual bool | uses_event_associations (void)=0 |
|
virtual long | schedule_timer (ACE_Event_Handler *event_handler, const void *arg, const ACE_Time_Value &delay, const ACE_Time_Value &interval=ACE_Time_Value::zero)=0 |
|
virtual int | reset_timer_interval (long timer_id, const ACE_Time_Value &interval)=0 |
|
virtual int | cancel_timer (ACE_Event_Handler *event_handler, int dont_call_handle_close=1)=0 |
|
virtual int | cancel_timer (long timer_id, const void **arg=0, int dont_call_handle_close=1)=0 |
|
virtual int | schedule_wakeup (ACE_Event_Handler *event_handler, ACE_Reactor_Mask masks_to_be_added)=0 |
|
virtual int | schedule_wakeup (ACE_HANDLE handle, ACE_Reactor_Mask masks_to_be_added)=0 |
|
virtual int | cancel_wakeup (ACE_Event_Handler *event_handler, ACE_Reactor_Mask masks_to_be_cleared)=0 |
| Clear masks_to_be_cleared from the event_handler's entry. More...
|
|
virtual int | cancel_wakeup (ACE_HANDLE handle, ACE_Reactor_Mask masks_to_be_cleared)=0 |
| Clear masks_to_be_cleared from the handle's entry. More...
|
|
virtual int | notify (ACE_Event_Handler *event_handler=0, ACE_Reactor_Mask mask=ACE_Event_Handler::EXCEPT_MASK, ACE_Time_Value *=0)=0 |
|
virtual void | max_notify_iterations (int)=0 |
|
virtual int | max_notify_iterations (void)=0 |
|
virtual ACE_Event_Handler * | find_handler (ACE_HANDLE handle)=0 |
|
virtual int | handler (ACE_HANDLE handle, ACE_Reactor_Mask mask, ACE_Event_Handler **event_handler=0)=0 |
|
virtual int | handler (int signum, ACE_Event_Handler **=0)=0 |
|
virtual bool | initialized (void)=0 |
|
virtual size_t | size (void) const =0 |
|
virtual ACE_Lock & | lock (void)=0 |
| Returns a reference to the Reactor's internal lock. More...
|
|
virtual void | wakeup_all_threads (void)=0 |
| Wake up all threads in waiting in the event loop. More...
|
|
virtual int | owner (ACE_thread_t new_owner, ACE_thread_t *old_owner=0)=0 |
| Transfers ownership of Reactor_Impl to the new_owner. More...
|
|
virtual int | owner (ACE_thread_t *owner)=0 |
| Return the ID of the "owner" thread. More...
|
|
virtual bool | restart (void)=0 |
| Get the existing restart value. More...
|
|
virtual bool | restart (bool r)=0 |
| Set a new value for restart and return the original value. More...
|
|
virtual void | requeue_position (int)=0 |
| Set position of the owner thread. More...
|
|
virtual int | requeue_position (void)=0 |
| Get position of the owner thread. More...
|
|
virtual int | mask_ops (ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask, int ops)=0 |
|
virtual int | mask_ops (ACE_HANDLE handle, ACE_Reactor_Mask mask, int ops)=0 |
|
virtual int | ready_ops (ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask, int ops)=0 |
|
virtual int | ready_ops (ACE_HANDLE handle, ACE_Reactor_Mask, int ops)=0 |
| GET/SET/ADD/CLR the ready "bit" bound with the handle and mask. More...
|
|
virtual void | dump (void) const =0 |
| Dump the state of an object. More...
|
|
This class simply defines how Select_Reactor's basic interface functions should look like and provides a common base class for Select_Reactor
using various locking mechanism.