Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_WFMO_Reactor_Handler_Repository::Suspended_Info Class Reference

This structure inherits from the common structure to add information for suspended entries. More...

#include <WFMO_Reactor.h>

Inheritance diagram for ACE_WFMO_Reactor_Handler_Repository::Suspended_Info:

Inheritance graph
[legend]
Collaboration diagram for ACE_WFMO_Reactor_Handler_Repository::Suspended_Info:

Collaboration graph
[legend]
List of all members.

Public Methods

 Suspended_Info (void)
 Constructor used for initializing the structure. More...

void reset (void)
 Reset the state of the structure. More...

void set (ACE_HANDLE event_handle, int io_entry, ACE_Event_Handler *event_handler, ACE_HANDLE io_handle, long network_events, int delete_event, int delete_entry=0, ACE_Reactor_Mask close_masks=0, int resume_entry=0)
 Set the structure to these new values. More...

void set (ACE_HANDLE event_handle, Common_Info &common_info, int resume_entry=0)
 Set the structure to these new values. More...

void dump (void) const
 Dump the state of an object. More...


Public Attributes

ACE_HANDLE event_handle_
 Handle for the event. More...

int resume_entry_
 This is set when the entry needed to be resumed. More...


Detailed Description

This structure inherits from the common structure to add information for suspended entries.

Definition at line 255 of file WFMO_Reactor.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::Suspended_Info void   
 

Constructor used for initializing the structure.

Definition at line 247 of file WFMO_Reactor.i.

00248   : event_handle_ (ACE_INVALID_HANDLE),
00249     resume_entry_ (0)
00250 {
00251 }


Member Function Documentation

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_WFMO_Reactor_Handler_Repository::Common_Info.

Definition at line 294 of file WFMO_Reactor.i.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG.

Referenced by ACE_WFMO_Reactor_Handler_Repository::dump.

00295 {
00296   ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump");
00297 
00298   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00299 
00300   Common_Info::dump ();
00301 
00302   ACE_DEBUG ((LM_DEBUG,
00303               ACE_LIB_TEXT ("Event Handle = %d\n"),
00304               this->event_handle_));
00305 
00306   ACE_DEBUG ((LM_DEBUG,
00307               ACE_LIB_TEXT ("Resume Entry = %d\n"),
00308               this->resume_entry_));
00309 
00310   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00311 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::reset void   
 

Reset the state of the structure.

Reimplemented from ACE_WFMO_Reactor_Handler_Repository::Common_Info.

Definition at line 254 of file WFMO_Reactor.i.

References event_handle_, and resume_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_suspension_infos.

00255 {
00256   this->event_handle_ = ACE_INVALID_HANDLE;
00257   this->resume_entry_ = 0;
00258   Common_Info::reset ();
00259 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::set ACE_HANDLE    event_handle,
Common_Info   common_info,
int    resume_entry = 0
 

Set the structure to these new values.

Definition at line 284 of file WFMO_Reactor.i.

References event_handle_, and resume_entry_.

00287 {
00288   this->event_handle_ = event_handle;
00289   this->resume_entry_ = resume_entry;
00290   Common_Info::set (common_info);
00291 }

ACE_INLINE void ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::set ACE_HANDLE    event_handle,
int    io_entry,
ACE_Event_Handler   event_handler,
ACE_HANDLE    io_handle,
long    network_events,
int    delete_event,
int    delete_entry = 0,
ACE_Reactor_Mask    close_masks = 0,
int    resume_entry = 0
 

Set the structure to these new values.

Definition at line 262 of file WFMO_Reactor.i.

References ACE_Reactor_Mask, event_handle_, and resume_entry_.

00271 {
00272   this->event_handle_ = event_handle;
00273   this->resume_entry_ = resume_entry;
00274   Common_Info::set (io_entry,
00275                     event_handler,
00276                     io_handle,
00277                     network_events,
00278                     delete_event,
00279                     delete_entry,
00280                     close_masks);
00281 }


Member Data Documentation

ACE_HANDLE ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::event_handle_
 

Handle for the event.

Definition at line 259 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::handler, ACE_WFMO_Reactor_Handler_Repository::make_changes_in_suspension_infos, ACE_WFMO_Reactor_Handler_Repository::modify_network_events_i, ACE_WFMO_Reactor_Handler_Repository::remove_suspended_handler_i, reset, ACE_WFMO_Reactor_Handler_Repository::resume_handler_i, set, ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i, and ACE_WFMO_Reactor_Handler_Repository::unbind_i.

int ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::resume_entry_
 

This is set when the entry needed to be resumed.

Definition at line 262 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_suspension_infos, ACE_WFMO_Reactor_Handler_Repository::remove_suspended_handler_i, reset, ACE_WFMO_Reactor_Handler_Repository::resume_handler_i, set, and ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:59:18 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002