BoilerPlate: Reusable CORBA |
#include <ThreadedOrbRunStrategy.h>
Inheritance diagram for ThreadedOrbRunStrategy:

Inspired by TAO's lack of built in support for multiple threads. This strategy calls ORB::run from multiple threads. The number of threads used is configurable with -BPtorbstrat_himark. Use the -BPthdstrategy=mtorbrun command line option to activate the ThreadedOrbRunStrategy
See Thread Model Configuration for more information
Public Member Functions | |
| ThreadedOrbRunStrategy () | |
| virtual | ~ThreadedOrbRunStrategy () |
| virtual void | _apply (SysHook *sys_hook, ConfMap &config) throw (std::logic_error, std::runtime_error, CORBA::SystemException ) |
| virtual void | orb_run () |
| virtual bool | apply (SysHook *sys_hook, ConfMap &config) throw (std::logic_error, std::runtime_error, CORBA::SystemException ) |
| void | interrupt (bool state) |
| bool | interrupted () |
|
|
ctor |
|
|
dtor |
|
||||||||||||
|
Implement OrbRunStrategy contract
Implements OrbRunStrategy. |
|
||||||||||||
|
The public OrbRunStrategy contract Does some basic configuration and starts a signal catcher thread, then calls out to the protected virtual _apply. This is an implementation of the GoF Template Method pattern.
|
|
|
Set the interrupted state of this instance The interrupted state indicates if the ORB run has been asked to shutdown
|
|
|
Query the interrupted state of this instance The interrupted state indicates if the ORB run has been asked to shutdown
|
|
|
Covers ORB::run Called from kickstart. Each thread calls orb_run |
| Copyright © BoilerPlate.org |
Generated on Tue Nov 30 16:22:34 2004 for BoilerPlate by
1.3.7
|