TAO 3.1.4
Loading...
Searching...
No Matches
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.
 
 ~Wait_On_LF_No_Upcall () override=default
 Destructor.
 
int wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd) override
 
bool can_process_upcalls () const override
 
int defer_upcall (ACE_Event_Handler *) override
 
- Public Member Functions inherited from TAO_Wait_On_Leader_Follower
 TAO_Wait_On_Leader_Follower (TAO_Transport *transport)
 Constructor.
 
 ~TAO_Wait_On_Leader_Follower () override=default
 Destructor.
 
int sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics) override
 
int register_handler () override
 
bool non_blocking () const override
 
- Public Member Functions inherited from TAO_Wait_Strategy
 TAO_Wait_Strategy (TAO_Transport *transport)
 Constructor.
 
virtual ~TAO_Wait_Strategy ()=default
 Destructor.
 
virtual void finished_request ()
 
bool is_registered () const
 Get method for the flag.
 
void is_registered (bool flag)
 Set method for the flag.
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Wait_On_LF_No_Upcall()

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

Constructor.

◆ ~Wait_On_LF_No_Upcall()

TAO::Wait_On_LF_No_Upcall::~Wait_On_LF_No_Upcall ( )
overridedefault

Destructor.

Member Function Documentation

◆ can_process_upcalls()

bool TAO::Wait_On_LF_No_Upcall::can_process_upcalls ( ) const
overridevirtual

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.

◆ defer_upcall()

int TAO::Wait_On_LF_No_Upcall::defer_upcall ( ACE_Event_Handler * eh)
overridevirtual

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.

◆ wait()

int TAO::Wait_On_LF_No_Upcall::wait ( ACE_Time_Value * max_wait_time,
TAO_Synch_Reply_Dispatcher & rd )
overridevirtual

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: