NAME
ACE_MT_CORBA_Handler -
Handle multi-threaded CORBA requests in conjunction with the
ACE Reactor.
SYNOPSIS
#include <ace/CORBA_Handler.h>
class ACE_MT_CORBA_Handler :
public ACE_CORBA_Handler,
public ACE_CORBA_1 (ThreadFilter)
{
public:
static ACE_CORBA_Handler *instance (void);
virtual int handle_input (ACE_HANDLE);
void thr_mgr (ACE_Thread_Manager *tm);
ACE_Thread_Manager *thr_mgr (void) const;
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
virtual int suspend (void);
virtual int resume (void);
protected:
static void *process_events (void *);
ACE_MT_CORBA_Handler (void);
virtual ~ACE_MT_CORBA_Handler (void);
virtual int inRequestPreMarshal (
ACE_CORBA_1 (Request) &r,
ACE_CORBA_1 (Environment) &IT_env = ACE_CORBA_1 (default_environment)
);
static ACE_MT_CORBA_Handler *instance_;
ACE_Thread_Manager *thr_mgr_;
ACE_Pipe pipe_;
static ACE_Thread_Mutex ace_mt_corba_handler_lock_;
};
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