TAO
2.0.8
|
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. | |
virtual void | synch_options (ACE_Time_Value *val, ACE_Synch_Options &opt) |
Obtain the synch options that can be passed to ACE_Connector. | |
Protected Member Functions | |
virtual int | wait_i (TAO_LF_Event *ev, TAO_Transport *t, ACE_Time_Value *val) |
This is the method that does all the real interesting stuff. |
Concrete implementation of a connect strategy that blocks during connects.
TAO_Blocked_Connect_Strategy::TAO_Blocked_Connect_Strategy | ( | TAO_ORB_Core * | orb | ) |
Constructor.
void TAO_Blocked_Connect_Strategy::synch_options | ( | ACE_Time_Value * | val, |
ACE_Synch_Options & | opt | ||
) | [virtual] |
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.
int TAO_Blocked_Connect_Strategy::wait_i | ( | TAO_LF_Event * | ev, |
TAO_Transport * | t, | ||
ACE_Time_Value * | val | ||
) | [protected, virtual] |
This is the method that does all the real interesting stuff.
Implements TAO_Connect_Strategy.