NAME
ACE_ST_CORBA_Handler -
Handle single-threaded CORBA requests in conjunction with the
ACE_Reactor.
SYNOPSIS
#include <ace/CORBA_Handler.h>
class ACE_ST_CORBA_Handler : public ACE_CORBA_Handler
{
public:
static ACE_CORBA_Handler *instance (void);
virtual int handle_input (ACE_HANDLE);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
size_t iterations (void);
void iterations (size_t);
virtual int suspend (void);
virtual int resume (void);
protected:
void get_orbix_descriptors (void);
ACE_ST_CORBA_Handler (void);
virtual ~ACE_ST_CORBA_Handler (void);
static void insert_handle (ACE_HANDLE);
static void remove_handle (ACE_HANDLE);
static ACE_ST_CORBA_Handler *instance_;
size_t iterations_;
};
The iterations are dictate how many processNextEvent() calls
are run per-callback.
size_t iterations (void);
Get the current iteration.
void iterations (size_t);
Set the current iteration.
Dynamic linking hooks.
virtual int suspend (void);
Atomically suspend all the threads associated with the thr_mgr ().
virtual int resume (void);
Atomically resume all the threads associated with the thr_mgr ()_.
AUTHOR
Douglas C. Schmidt (schmidt@cs.wustl.edu) and
Irfan Pyarali (irfan@wuerl.wustl.edu).
LIBRARY
ace