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

ACE_EH_Dispatch_Info Class Reference

This structure contains information of the activated event handler. More...

#include <TP_Reactor.h>

Collaboration diagram for ACE_EH_Dispatch_Info:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_EH_Dispatch_Info (void)
void set (ACE_HANDLE handle, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask, ACE_EH_PTMF callback)
void reset (void)
int dispatch (void) const

Public Attributes

ACE_HANDLE handle_
ACE_Event_Handlerevent_handler_
ACE_Reactor_Mask mask_
ACE_EH_PTMF callback_
int dispatch_

Private Methods

 ACE_EH_Dispatch_Info (const ACE_EH_Dispatch_Info &)
ACE_EH_Dispatch_Info & operator= (const ACE_EH_Dispatch_Info &)

Detailed Description

This structure contains information of the activated event handler.

Definition at line 47 of file TP_Reactor.h.


Constructor & Destructor Documentation

ACE_INLINE ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info void   
 

Definition at line 21 of file TP_Reactor.i.

References reset.

00022 {
00023   this->reset ();
00024 }

ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info const ACE_EH_Dispatch_Info &    [private]
 


Member Function Documentation

ACE_INLINE int ACE_EH_Dispatch_Info::dispatch void    const
 

Definition at line 41 of file TP_Reactor.i.

References dispatch_.

Referenced by ACE_TP_Reactor::handle_socket_events.

00042 {
00043   return this->dispatch_;
00044 }

ACE_EH_Dispatch_Info& ACE_EH_Dispatch_Info::operator= const ACE_EH_Dispatch_Info &    [private]
 

ACE_INLINE void ACE_EH_Dispatch_Info::reset void   
 

Definition at line 9 of file TP_Reactor.i.

References callback_, dispatch_, event_handler_, handle_, mask_, and ACE_Event_Handler::NULL_MASK.

Referenced by ACE_EH_Dispatch_Info, and ACE_TP_Reactor::get_socket_event_info.

00010 {
00011   this->dispatch_ = 0;
00012 
00013   this->handle_ = ACE_INVALID_HANDLE;
00014   this->event_handler_ = 0;
00015   this->mask_ = ACE_Event_Handler::NULL_MASK;
00016   this->callback_ = 0;
00017 }

ACE_INLINE void ACE_EH_Dispatch_Info::set ACE_HANDLE    handle,
ACE_Event_Handler   event_handler,
ACE_Reactor_Mask    mask,
ACE_EH_PTMF    callback
 

Definition at line 27 of file TP_Reactor.i.

References ACE_EH_PTMF, ACE_Reactor_Mask, callback_, dispatch_, event_handler_, handle_, and mask_.

Referenced by ACE_TP_Reactor::get_socket_event_info.

00031 {
00032   this->dispatch_ = 1;
00033 
00034   this->handle_ = handle;
00035   this->event_handler_ = event_handler;
00036   this->mask_ = mask;
00037   this->callback_ = callback;
00038 }


Member Data Documentation

ACE_EH_PTMF ACE_EH_Dispatch_Info::callback_
 

Definition at line 65 of file TP_Reactor.h.

Referenced by ACE_TP_Reactor::dispatch_socket_event, reset, and set.

int ACE_EH_Dispatch_Info::dispatch_
 

Definition at line 67 of file TP_Reactor.h.

Referenced by dispatch, reset, and set.

ACE_Event_Handler* ACE_EH_Dispatch_Info::event_handler_
 

Definition at line 63 of file TP_Reactor.h.

Referenced by ACE_TP_Reactor::dispatch_socket_event, ACE_TP_Reactor::handle_socket_events, reset, and set.

ACE_HANDLE ACE_EH_Dispatch_Info::handle_
 

Definition at line 62 of file TP_Reactor.h.

Referenced by ACE_TP_Reactor::dispatch_socket_event, ACE_TP_Reactor::handle_socket_events, reset, and set.

ACE_Reactor_Mask ACE_EH_Dispatch_Info::mask_
 

Definition at line 64 of file TP_Reactor.h.

Referenced by ACE_TP_Reactor::dispatch_socket_event, reset, and set.


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