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 Member Functions

 Suspended_Info (void)
 Constructor used for initializing the structure.

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

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.

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

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


Public Attributes

ACE_HANDLE event_handle_
 Handle for the event.

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


Detailed Description

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

Definition at line 262 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 258 of file WFMO_Reactor.inl.

00259   : event_handle_ (ACE_INVALID_HANDLE),
00260     resume_entry_ (0)
00261 {
00262 }


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 305 of file WFMO_Reactor.inl.

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().

00306 {
00307 #if defined (ACE_HAS_DUMP)
00308   ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump");
00309 
00310   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00311 
00312   Common_Info::dump ();
00313 
00314   ACE_DEBUG ((LM_DEBUG,
00315               ACE_LIB_TEXT ("Event Handle = %d\n"),
00316               this->event_handle_));
00317 
00318   ACE_DEBUG ((LM_DEBUG,
00319               ACE_LIB_TEXT ("Resume Entry = %d\n"),
00320               this->resume_entry_));
00321 
00322   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00323 #endif /* ACE_HAS_DUMP */
00324 }

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 265 of file WFMO_Reactor.inl.

References resume_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_suspension_infos().

00266 {
00267   this->event_handle_ = ACE_INVALID_HANDLE;
00268   this->resume_entry_ = 0;
00269   Common_Info::reset ();
00270 }

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 295 of file WFMO_Reactor.inl.

References resume_entry_.

00298 {
00299   this->event_handle_ = event_handle;
00300   this->resume_entry_ = resume_entry;
00301   Common_Info::set (common_info);
00302 }

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 273 of file WFMO_Reactor.inl.

References ACE_Reactor_Mask, and resume_entry_.

Referenced by ACE_WFMO_Reactor_Handler_Repository::make_changes_in_current_infos(), and ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos().

00282 {
00283   this->event_handle_ = event_handle;
00284   this->resume_entry_ = resume_entry;
00285   Common_Info::set (io_entry,
00286                     event_handler,
00287                     io_handle,
00288                     network_events,
00289                     delete_event,
00290                     delete_entry,
00291                     close_masks);
00292 }


Member Data Documentation

ACE_HANDLE ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::event_handle_
 

Handle for the event.

Definition at line 266 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(), ACE_WFMO_Reactor_Handler_Repository::resume_handler_i(), 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 269 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 Thu Nov 9 11:32:35 2006 for ACE by doxygen 1.3.6