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

TAO_LF_Strategy_Complete Class Reference

A concrete TAO_LF_Strategy for ORB configurations that use the Leader/Followers event loop. More...

#include <LF_Strategy_Complete.h>

Inheritance diagram for TAO_LF_Strategy_Complete:

Inheritance graph
[legend]
Collaboration diagram for TAO_LF_Strategy_Complete:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_LF_Strategy_Complete (void)
 Constructor. More...

virtual ~TAO_LF_Strategy_Complete (void)
virtual void set_upcall_thread (TAO_Leader_Follower &)
 Threads that handle requests can block for long periods of time, causing deadlocks if they don't elect a new leader before starting the upcall the system can become non-responsive or dead-lock. More...

virtual int set_event_loop_thread (ACE_Time_Value *max_wait_time, TAO_Leader_Follower &)
 Threads that block in the reactor event loop become "server" threads for the Leader/Follower set. More...

virtual void reset_event_loop_thread (int call_reset, TAO_Leader_Follower &)
 When the thread leaves the event loop a new leader must be elected. More...


Detailed Description

A concrete TAO_LF_Strategy for ORB configurations that use the Leader/Followers event loop.


Constructor & Destructor Documentation

ACE_INLINE TAO_LF_Strategy_Complete::TAO_LF_Strategy_Complete void   
 

Constructor.

TAO_LF_Strategy_Complete::~TAO_LF_Strategy_Complete void    [virtual]
 


Member Function Documentation

void TAO_LF_Strategy_Complete::reset_event_loop_thread int    call_reset,
TAO_Leader_Follower   lf
[virtual]
 

When the thread leaves the event loop a new leader must be elected.

Reimplemented from TAO_LF_Strategy.

int TAO_LF_Strategy_Complete::set_event_loop_thread ACE_Time_Value   tv,
TAO_Leader_Follower   lf
[virtual]
 

Threads that block in the reactor event loop become "server" threads for the Leader/Follower set.

They must be flagged specially because they do not wait for one specific event, but for any event whatsoever.

Reimplemented from TAO_LF_Strategy.

void TAO_LF_Strategy_Complete::set_upcall_thread TAO_Leader_Follower   lf [virtual]
 

Threads that handle requests can block for long periods of time, causing deadlocks if they don't elect a new leader before starting the upcall the system can become non-responsive or dead-lock.

Reimplemented from TAO_LF_Strategy.


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 18:42:35 2002 for TAO by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001