#include <Wait_On_Leader_Follower.h>
Inheritance diagram for TAO_Wait_On_Leader_Follower:
Public Methods | |
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, int two_way) |
The user is going to send a request, prepare any internal variables because the reply may arrive *before* the user calls wait. More... | |
virtual int | wait (ACE_Time_Value *max_wait_time, TAO_Synch_Reply_Dispatcher &rd) |
Base class virtual method. Wait till the <reply_received> flag is true or the time expires. More... | |
virtual int | register_handler (void) |
Register the handler needs with the reactor provided that it makes sense for the strategy. More... | |
virtual int | non_blocking (void) |
Returns a value to indicate whether the transport needs to set the socket on which it is waiting to non-blocking mode or not. More... |
This impelementation is to work with the Muxed Transport Mechanism. Here the state variables such as <Condition Variable> etc cannot be kept in the Wait Strategy, since the Wait Strategy is per Transport object and here the Transport is Muxed and hence there are multiple threads running in the same Transport context.
|
Constructor.
|
|
Destructor.
|
|
Returns a value to indicate whether the transport needs to set the socket on which it is waiting to non-blocking mode or not.
Reimplemented from TAO_Wait_Strategy. |
|
Register the handler needs with the reactor provided that it makes sense for the strategy.
Reimplemented from TAO_Wait_Strategy. |
|
The user is going to send a request, prepare any internal variables because the reply may arrive *before* the user calls wait.
Reimplemented from TAO_Wait_Strategy. |
|
Base class virtual method. Wait till the <reply_received> flag is true or the time expires.
Reimplemented from TAO_Wait_Strategy. |