Public Member Functions

TAO_LF_Strategy_Null Class Reference

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

#include <LF_Strategy_Null.h>

Inheritance diagram for TAO_LF_Strategy_Null:
Inheritance graph
[legend]
Collaboration diagram for TAO_LF_Strategy_Null:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_LF_Strategy_Null (void)
 Constructor.
Virtual Methods

Please check the documentation in TAO_LF_Strategy

virtual ~TAO_LF_Strategy_Null (void)
virtual void set_upcall_thread (TAO_Leader_Follower &)
 The current thread will handle an upcall.
virtual int set_event_loop_thread (ACE_Time_Value *max_wait_time, TAO_Leader_Follower &)
 The current thread is entering the reactor event loop.
virtual void reset_event_loop_thread (int call_reset, TAO_Leader_Follower &)
 The current thread is leaving the event loop.

Detailed Description

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

Definition at line 32 of file LF_Strategy_Null.h.


Constructor & Destructor Documentation

TAO_LF_Strategy_Null::TAO_LF_Strategy_Null ( void   ) 

Constructor.

Definition at line 4 of file LF_Strategy_Null.inl.

{
}

TAO_LF_Strategy_Null::~TAO_LF_Strategy_Null ( void   )  [virtual]

Definition at line 14 of file LF_Strategy_Null.cpp.

{
}


Member Function Documentation

void TAO_LF_Strategy_Null::reset_event_loop_thread ( int  call_reset,
TAO_Leader_Follower  
) [virtual]

The current thread is leaving the event loop.

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

Implements TAO_LF_Strategy.

Definition at line 31 of file LF_Strategy_Null.cpp.

{
}

int TAO_LF_Strategy_Null::set_event_loop_thread ( ACE_Time_Value max_wait_time,
TAO_Leader_Follower  
) [virtual]

The current thread is entering the reactor event loop.

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.

Implements TAO_LF_Strategy.

Definition at line 24 of file LF_Strategy_Null.cpp.

{
  return 0;
}

void TAO_LF_Strategy_Null::set_upcall_thread ( TAO_Leader_Follower  )  [virtual]

The current thread will handle an upcall.

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.

Implements TAO_LF_Strategy.

Definition at line 19 of file LF_Strategy_Null.cpp.

{
}


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines