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

WFMO_Reactor.h File Reference

#include "ace/pre.h"
#include "ace/config-all.h"
#include "ace/Signal.h"
#include "ace/Timer_Queue.h"
#include "ace/Event_Handler.h"
#include "ace/Synch.h"
#include "ace/Reactor_Impl.h"
#include "ace/Message_Queue.h"
#include "ace/Process_Mutex.h"
#include "ace/post.h"

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.

Compounds

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

class  ACE_WFMO_Reactor_Handler_Repository
 Used to map <ACE_HANDLE>s 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 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::Suspended_Info
 This structure inherits from the common structure to add information for suspended 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_Notify
 Unblock the <ACE_WFMO_Reactor> from its event loop, passing it an optional <ACE_Event_Handler> to dispatch. 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)


Detailed Description

Id:
WFMO_Reactor.h,v 1.1.1.4 2003/02/21 18:36:32 chad Exp

Author:
Irfan Pyarali <irfan@cs.wustl.edu> , Tim Harrison <harrison@cs.wustl.edu> , and Doug Schmidt <schmidt@cs.wustl.edu>

Definition in file WFMO_Reactor.h.


Define Documentation

#define FD_ACCEPT_BIT   3
 

Definition at line 43 of file WFMO_Reactor.h.

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

Definition at line 53 of file WFMO_Reactor.h.

#define FD_CLOSE_BIT   5
 

Definition at line 45 of file WFMO_Reactor.h.

#define FD_CONNECT_BIT   4
 

Definition at line 44 of file WFMO_Reactor.h.

Referenced by ACE_WFMO_Reactor::upcall.

#define FD_GROUP_QOS   (1 << FD_GROUP_QOS_BIT)
 

Definition at line 50 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 47 of file WFMO_Reactor.h.

#define FD_MAX_EVENTS   8
 

Definition at line 52 of file WFMO_Reactor.h.

#define FD_OOB_BIT   2
 

Definition at line 42 of file WFMO_Reactor.h.

#define FD_QOS   (1 << FD_QOS_BIT)
 

Definition at line 49 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 46 of file WFMO_Reactor.h.

#define FD_READ_BIT   0
 

Definition at line 40 of file WFMO_Reactor.h.

#define FD_WRITE_BIT   1
 

Definition at line 41 of file WFMO_Reactor.h.

#define WSAEVENT   HANDLE
 

Definition at line 55 of file WFMO_Reactor.h.

Referenced by WSAEnumNetworkEvents, and WSAEventSelect.


Typedef Documentation

typedef struct _WSANETWORKEVENTS * LPWSANETWORKEVENTS
 

typedef struct _WSANETWORKEVENTS WSANETWORKEVENTS
 


Function Documentation

int WSAEnumNetworkEvents SOCKET    s,
WSAEVENT    hEventObject,
LPWSANETWORKEVENTS    lpNetworkEvents
 

Definition at line 2548 of file WFMO_Reactor.cpp.

02551 {
02552   ACE_UNUSED_ARG (s);
02553   ACE_UNUSED_ARG (hEventObject);
02554   ACE_UNUSED_ARG (lpNetworkEvents);
02555 
02556   return -1;
02557 }

int WSAEventSelect SOCKET    s,
WSAEVENT    hEventObject,
long    lNetworkEvents
 

Definition at line 2536 of file WFMO_Reactor.cpp.

Referenced by ACE_SOCK_Connector::reset_new_handle, and ACE_ATM_Connector::reset_new_handle.

02539 {
02540   ACE_UNUSED_ARG (s);
02541   ACE_UNUSED_ARG (hEventObject);
02542   ACE_UNUSED_ARG (lNetworkEvents);
02543 
02544   return -1;
02545 }


Generated on Mon Jun 16 12:43:10 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002