TAO  2.3.3
Public Member Functions | List of all members
TAO::Wait_On_LF_No_Upcall Class Reference

#include <Wait_On_LF_No_Upcall.h>

Inheritance diagram for TAO::Wait_On_LF_No_Upcall:
Inheritance graph
[legend]
Collaboration diagram for TAO::Wait_On_LF_No_Upcall:
Collaboration graph
[legend]

Public Member Functions

 Wait_On_LF_No_Upcall (TAO_Transport *t)
 Constructor. More...
 
virtual ~Wait_On_LF_No_Upcall (void)
 Destructor. More...
 
virtual int wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd)
 
virtual bool can_process_upcalls (void) const
 
virtual int defer_upcall (ACE_Event_Handler *)
 
- Public Member Functions inherited from TAO_Wait_On_Leader_Follower
 TAO_Wait_On_Leader_Follower (TAO_Transport *transport)
 Constructor. More...
 
virtual ~TAO_Wait_On_Leader_Follower (void)
 Destructor. More...
 
virtual int sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics)
 
virtual int register_handler (void)
 
virtual bool non_blocking (void) const
 
- Public Member Functions inherited from TAO_Wait_Strategy
 TAO_Wait_Strategy (TAO_Transport *transport)
 Constructor. More...
 
virtual ~TAO_Wait_Strategy (void)
 Destructor. More...
 
virtual void finished_request ()
 
bool is_registered (void) const
 Get method for the flag. More...
 
void is_registered (bool flag)
 Set method for the flag. More...
 

Additional Inherited Members

- Protected Attributes inherited from TAO_Wait_Strategy
TAO_Transporttransport_
 Transport object. More...
 
bool is_registered_
 

Constructor & Destructor Documentation

TAO::Wait_On_LF_No_Upcall::Wait_On_LF_No_Upcall ( TAO_Transport t)
explicit

Constructor.

TAO::Wait_On_LF_No_Upcall::~Wait_On_LF_No_Upcall ( void  )
virtual

Destructor.

Member Function Documentation

bool TAO::Wait_On_LF_No_Upcall::can_process_upcalls ( void  ) const
virtual

Flag that indicates whether we can process requests while waiting for the reply. This flag is to check whether the thread can process upcalls while waiting for the reply. Some wait strategies, like Wait_On_LF_No_Upcall does not allow the client threads to process requests while waiting for the reply.

Reimplemented from TAO_Wait_On_Leader_Follower.

int TAO::Wait_On_LF_No_Upcall::defer_upcall ( ACE_Event_Handler eh)
virtual

Method to support deffering an upcall event till later in cases where can_process_upcalls() returns false. Some wait strategies like Wait_On_LF_No_Upcall allow an event to be deferred at the Leader_Follower which resumes the upcall at an opportune moment (when a new leader thread is activated).

Reimplemented from TAO_Wait_Strategy.

int TAO::Wait_On_LF_No_Upcall::wait ( ACE_Time_Value max_wait_time,
TAO_Synch_Reply_Dispatcher rd 
)
virtual

Base class virtual method. Wait till the reply_received flag is true or the time expires.

Reimplemented from TAO_Wait_On_Leader_Follower.


The documentation for this class was generated from the following files: