#include <Blocked_Connect_Strategy.h>
Inheritance diagram for TAO_Blocked_Connect_Strategy:
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. |
Definition at line 32 of file Blocked_Connect_Strategy.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Blocked_Connect_Strategy::TAO_Blocked_Connect_Strategy | ( | TAO_ORB_Core * | orb | ) |
Constructor.
Definition at line 12 of file Blocked_Connect_Strategy.cpp.
00014 : TAO_Connect_Strategy (orb_core) 00015 { 00016 }
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.
Implements TAO_Connect_Strategy.
Definition at line 19 of file Blocked_Connect_Strategy.cpp.
References ACE_Synch_Options::set(), ACE_Synch_Options::USE_TIMEOUT, and ACE_Time_Value::zero.
00021 { 00022 if (timeout != 0) 00023 { 00024 // Blocking with a timeout 00025 options.set (ACE_Synch_Options::USE_TIMEOUT, 00026 *timeout); 00027 } 00028 else 00029 { 00030 // Making it sure it is blocking. 00031 options.set (0, 00032 ACE_Time_Value::zero); 00033 } 00034 }
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.
Definition at line 37 of file Blocked_Connect_Strategy.cpp.