TAO 3.0.9
|
#include <Wait_On_LF_No_Upcall.h>
Public Member Functions | |
Wait_On_LF_No_Upcall (TAO_Transport *t) | |
Constructor. More... | |
~Wait_On_LF_No_Upcall () override=default | |
Destructor. More... | |
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 |
![]() | |
TAO_Wait_On_Leader_Follower (TAO_Transport *transport) | |
Constructor. More... | |
~TAO_Wait_On_Leader_Follower () override=default | |
Destructor. More... | |
int | sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics) override |
int | wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd) override |
int | register_handler () override |
bool | non_blocking () const override |
bool | can_process_upcalls () const override |
![]() | |
TAO_Wait_Strategy (TAO_Transport *transport) | |
Constructor. More... | |
virtual | ~TAO_Wait_Strategy ()=default |
Destructor. More... | |
virtual int | sending_request (TAO_ORB_Core *orb_core, TAO_Message_Semantics msg_semantics) |
virtual void | finished_request () |
virtual int | wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd)=0 |
virtual int | register_handler ()=0 |
virtual bool | non_blocking () const =0 |
virtual bool | can_process_upcalls () const =0 |
virtual int | defer_upcall (ACE_Event_Handler *) |
bool | is_registered () const |
Get method for the flag. More... | |
void | is_registered (bool flag) |
Set method for the flag. More... | |
Additional Inherited Members | |
![]() | |
TAO_Transport * | transport_ |
Transport object. More... | |
bool | is_registered_ |
|
explicit |
Constructor.
|
overridedefault |
Destructor.
|
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.
|
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.
|
overridevirtual |
Base class virtual method. Wait till the reply_received
flag is true or the time expires.
Reimplemented from TAO_Wait_On_Leader_Follower.