TAO 3.1.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
TAO_Reactive_Connect_Strategy Class Reference

Concrete implementation of a connect strategy that waits on the reactor during asynch connects. More...

#include <Reactive_Connect_Strategy.h>

Inheritance diagram for TAO_Reactive_Connect_Strategy:
Inheritance graph
[legend]
Collaboration diagram for TAO_Reactive_Connect_Strategy:
Collaboration graph
[legend]

Public Member Functions

 TAO_Reactive_Connect_Strategy (TAO_ORB_Core *orb)
 Constructor.
 
 ~TAO_Reactive_Connect_Strategy ()
 Destructor.
 
virtual void synch_options (ACE_Time_Value *val, ACE_Synch_Options &opt)
 Obtain the synch options that can be passed to ACE_Connector.
 
- Public Member Functions inherited from TAO_Connect_Strategy
 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

virtual int wait_i (TAO_LF_Event *ch, TAO_Transport *, ACE_Time_Value *val)
 This is the method that does all the real interesting stuff.
 

Additional Inherited Members

- Protected Attributes inherited from TAO_Connect_Strategy
TAO_ORB_Core *const orb_core_
 Cached copy of the ORB core pointer.
 

Detailed Description

Concrete implementation of a connect strategy that waits on the reactor during asynch connects.

Constructor & Destructor Documentation

◆ TAO_Reactive_Connect_Strategy()

TAO_Reactive_Connect_Strategy::TAO_Reactive_Connect_Strategy ( TAO_ORB_Core * orb)

Constructor.

◆ ~TAO_Reactive_Connect_Strategy()

TAO_Reactive_Connect_Strategy::~TAO_Reactive_Connect_Strategy ( )

Destructor.

Member Function Documentation

◆ synch_options()

void TAO_Reactive_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.

◆ wait_i()

int TAO_Reactive_Connect_Strategy::wait_i ( TAO_LF_Event * ev,
TAO_Transport * t,
ACE_Time_Value * val )
protectedvirtual

This is the method that does all the real interesting stuff.

Implements TAO_Connect_Strategy.


The documentation for this class was generated from the following files: