ACE  6.4.2
Classes | Macros | Typedefs | Functions
WFMO_Reactor.h File Reference
#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"

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 Event_Handler 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 separate 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 <to_be_added> 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 ACE_WFMO_Reactor 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...
 

Macros

#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 struct _WSANETWORKEVENTS WSANETWORKEVENTS
 
typedef struct _WSANETWORKEVENTSLPWSANETWORKEVENTS
 

Functions

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

Detailed Description

Author
Irfan Pyarali irfan.nosp@m.@cs..nosp@m.wustl.nosp@m..edu
Tim Harrison harri.nosp@m.son@.nosp@m.cs.wu.nosp@m.stl..nosp@m.edu
Doug Schmidt schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du

Macro Definition Documentation

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

Typedef Documentation

Function Documentation

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