TAO 4.0.1
|
Concrete implementation of a connect strategy that blocks during connects. More...
#include <Blocked_Connect_Strategy.h>
Public Member Functions | |
TAO_Blocked_Connect_Strategy (TAO_ORB_Core *orb) | |
Constructor. | |
void | synch_options (ACE_Time_Value *val, ACE_Synch_Options &opt) override |
Obtain the synch options that can be passed to ACE_Connector. | |
![]() | |
TAO_Connect_Strategy (TAO_ORB_Core *orb) | |
Constructor. | |
virtual | ~TAO_Connect_Strategy ()=default |
Destructor. | |
int | wait (TAO_Connection_Handler *ch, ACE_Time_Value *val) |
Wait for the connection to be completed till a timeout occurs. | |
int | wait (TAO_Transport *t, ACE_Time_Value *val) |
int | wait (TAO_LF_Multi_Event *ev, ACE_Time_Value *val) |
int | poll (TAO_LF_Multi_Event *ev) |
Protected Member Functions | |
int | wait_i (TAO_LF_Event *ev, TAO_Transport *t, ACE_Time_Value *val) override |
This is the method that does all the real interesting stuff. | |
Additional Inherited Members | |
![]() | |
TAO_ORB_Core *const | orb_core_ |
Cached copy of the ORB core pointer. | |
Concrete implementation of a connect strategy that blocks during connects.
TAO_Blocked_Connect_Strategy::TAO_Blocked_Connect_Strategy | ( | TAO_ORB_Core * | orb | ) |
Constructor.
|
overridevirtual |
Obtain the synch options that can be passed to ACE_Connector.
Return the synch option for the connector, based on the timeout and the strategy in place. ACE_Connectors behavior can be altered by passing the right ACE_Synch_Options to the connect () call.
Implements TAO_Connect_Strategy.
|
overrideprotectedvirtual |
This is the method that does all the real interesting stuff.
Implements TAO_Connect_Strategy.