WFMO_Reactor.h File Reference

#include "ace/config-all.h"
#include "ace/Signal.h"
#include "ace/Timer_Queue.h"
#include "ace/Event_Handler.h"
#include "ace/Auto_Event.h"
#include "ace/Manual_Event.h"
#include "ace/Condition_Thread_Mutex.h"
#include "ace/Lock_Adapter_T.h"
#include "ace/Reactor_Impl.h"
#include "ace/Message_Queue.h"
#include "ace/Process_Mutex.h"
#include "ace/WFMO_Reactor.inl"

Include dependency graph for WFMO_Reactor.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  _WSANETWORKEVENTS
class  ACE_Wakeup_All_Threads_Handler
 This is a helper class whose sole purpose is to handle events on <ACE_WFMO_Reactor->wakeup_all_threads_>. More...

class  ACE_WFMO_Reactor_Handler_Repository
 Used to map ACE_HANDLEs onto the appropriate ACE_Event_Handler * and other information. More...

class  ACE_WFMO_Reactor_Handler_Repository::Common_Info
 This struct contains the necessary information for every entry. The reason the event is not in this structure is because we need to pass an event array into WaitForMultipleObjects and therefore keeping the events seperate makes sense. More...

class  ACE_WFMO_Reactor_Handler_Repository::Current_Info
 This structure inherits from the common structure to add information for current entries. More...

class  ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info
 This structure inherits from the common structure to add information for entries. More...

class  ACE_WFMO_Reactor_Handler_Repository::Suspended_Info
 This structure inherits from the common structure to add information for suspended entries. More...

class  ACE_WFMO_Reactor_Notify
 Unblock the from its event loop, passing it an optional ACE_Event_Handler to dispatch. More...

class  ACE_WFMO_Reactor
 An object oriented event demultiplexor and event handler. ACE_WFMO_Reactor is a Windows-only implementation of the ACE_Reactor interface that uses the WaitForMultipleObjects() event demultiplexer. More...


Defines

#define FD_READ_BIT   0
#define FD_WRITE_BIT   1
#define FD_OOB_BIT   2
#define FD_ACCEPT_BIT   3
#define FD_CONNECT_BIT   4
#define FD_CLOSE_BIT   5
#define FD_QOS_BIT   6
#define FD_GROUP_QOS_BIT   7
#define FD_QOS   (1 << FD_QOS_BIT)
#define FD_GROUP_QOS   (1 << FD_GROUP_QOS_BIT)
#define FD_MAX_EVENTS   8
#define FD_ALL_EVENTS   ((1 << FD_MAX_EVENTS) - 1)
#define WSAEVENT   HANDLE

Typedefs

typedef _WSANETWORKEVENTS WSANETWORKEVENTS
typedef _WSANETWORKEVENTSLPWSANETWORKEVENTS

Functions

int WSAEventSelect (SOCKET s, WSAEVENT hEventObject, long lNetworkEvents)
int WSAEnumNetworkEvents (SOCKET s, WSAEVENT hEventObject, LPWSANETWORKEVENTS lpNetworkEvents)

Variables

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class 
ACE_WFMO_Reactor


Detailed Description

WFMO_Reactor.h,v 4.74 2006/02/10 10:16:55 jwillemsen Exp

Author:
Irfan Pyarali <irfan@cs.wustl.edu>

Tim Harrison <harrison@cs.wustl.edu>

Doug Schmidt <schmidt@cs.wustl.edu>

Definition in file WFMO_Reactor.h.


Define Documentation

#define FD_ACCEPT_BIT   3
 

Definition at line 46 of file WFMO_Reactor.h.

#define FD_ALL_EVENTS   ((1 << FD_MAX_EVENTS) - 1)
 

Definition at line 56 of file WFMO_Reactor.h.

#define FD_CLOSE_BIT   5
 

Definition at line 48 of file WFMO_Reactor.h.

#define FD_CONNECT_BIT   4
 

Definition at line 47 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor::upcall().

#define FD_GROUP_QOS   (1 << FD_GROUP_QOS_BIT)
 

Definition at line 53 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::bit_ops(), ACE_WFMO_Reactor_Handler_Repository::handler(), and ACE_WFMO_Reactor::upcall().

#define FD_GROUP_QOS_BIT   7
 

Definition at line 50 of file WFMO_Reactor.h.

#define FD_MAX_EVENTS   8
 

Definition at line 55 of file WFMO_Reactor.h.

#define FD_OOB_BIT   2
 

Definition at line 45 of file WFMO_Reactor.h.

#define FD_QOS   (1 << FD_QOS_BIT)
 

Definition at line 52 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor_Handler_Repository::bit_ops(), ACE_WFMO_Reactor_Handler_Repository::handler(), and ACE_WFMO_Reactor::upcall().

#define FD_QOS_BIT   6
 

Definition at line 49 of file WFMO_Reactor.h.

#define FD_READ_BIT   0
 

Definition at line 43 of file WFMO_Reactor.h.

#define FD_WRITE_BIT   1
 

Definition at line 44 of file WFMO_Reactor.h.

#define WSAEVENT   HANDLE
 

Definition at line 58 of file WFMO_Reactor.h.


Typedef Documentation

typedef struct _WSANETWORKEVENTS * LPWSANETWORKEVENTS
 

Referenced by WSAEnumNetworkEvents().

typedef struct _WSANETWORKEVENTS WSANETWORKEVENTS
 

Referenced by ACE_WFMO_Reactor::complex_dispatch_handler(), and ACE_WFMO_Reactor::upcall().


Function Documentation

int WSAEnumNetworkEvents SOCKET  s,
WSAEVENT  hEventObject,
LPWSANETWORKEVENTS  lpNetworkEvents
 

Definition at line 2693 of file WFMO_Reactor.cpp.

References LPWSANETWORKEVENTS.

02696 {
02697   return -1;
02698 }

int WSAEventSelect SOCKET  s,
WSAEVENT  hEventObject,
long  lNetworkEvents
 

Definition at line 2685 of file WFMO_Reactor.cpp.

Referenced by ACE_SOCK_SEQPACK_Connector::reset_new_handle(), ACE_SOCK_Connector::reset_new_handle(), and ACE_ATM_Connector::reset_new_handle().

02688 {
02689   return -1;
02690 }


Variable Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_WFMO_Reactor
 

Definition at line 81 of file WFMO_Reactor.h.


Generated on Thu Nov 9 11:18:29 2006 for ACE by doxygen 1.3.6