#include <Wait_On_LF_No_Upcall.h>
Inheritance diagram for TAO::Wait_On_LF_No_Upcall:
Public Types | |
typedef TAO_Wait_On_Leader_Follower | base |
Public Member Functions | |
Wait_On_LF_No_Upcall (TAO_Transport *t) | |
virtual | ~Wait_On_LF_No_Upcall (void) |
virtual int | wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd) |
virtual bool | can_process_upcalls (void) const |
|
Definition at line 47 of file Wait_On_LF_No_Upcall.h. Referenced by Wait_On_LF_No_Upcall(). |
|
Definition at line 78 of file Wait_On_LF_No_Upcall.cpp. References base.
00079 : base (t) 00080 { 00081 } |
|
Definition at line 83 of file Wait_On_LF_No_Upcall.cpp.
00084 { 00085 } |
|
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. Definition at line 97 of file Wait_On_LF_No_Upcall.cpp. References TAO_Transport::bidirectional_flag(), TAO_ORB_Core::get_tss_resources(), TAO_Transport::opened_as(), TAO_Transport::orb_core(), and TAO_ORB_Core_TSS_Resources::upcalls_temporarily_suspended_on_this_thread_.
00098 { 00099 TAO_ORB_Core_TSS_Resources *tss = 00100 this->transport_->orb_core ()->get_tss_resources (); 00101 00102 if ((this->transport_->opened_as () == TAO::TAO_CLIENT_ROLE) && 00103 (this->transport_->bidirectional_flag () == 0) && 00104 (tss->upcalls_temporarily_suspended_on_this_thread_ == true)) 00105 return false; 00106 00107 return true; 00108 } |
|
Base class virtual method. Wait till the Reimplemented from TAO_Wait_On_Leader_Follower. Definition at line 88 of file Wait_On_LF_No_Upcall.cpp.
00090 {
00091 Nested_Upcall_Guard upcall_guard (this->transport_);
00092
00093 return base::wait (max_wait_time, rd);
00094 }
|