#include <LF_Connect_Strategy.h>
Inheritance diagram for TAO_LF_Connect_Strategy:


Public Member Functions | |
| TAO_LF_Connect_Strategy (TAO_ORB_Core *orb) | |
| Constructor. | |
| ~TAO_LF_Connect_Strategy (void) | |
| Destructor. | |
| 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 40 of file LF_Connect_Strategy.h.
|
|
Constructor.
Definition at line 17 of file LF_Connect_Strategy.cpp.
00019 : TAO_Connect_Strategy (orb_core) 00020 { 00021 } |
|
|
Destructor.
Definition at line 23 of file LF_Connect_Strategy.cpp.
00024 {
00025 }
|
|
||||||||||||
|
Obtain the synch options that can be passed to ACE_Connector.
Implements TAO_Connect_Strategy. Definition at line 28 of file LF_Connect_Strategy.cpp. References ACE_Synch_Options::set().
|
|
||||||||||||||||
|
This is the method that does all the real interesting stuff.
Implements TAO_Connect_Strategy. Definition at line 45 of file LF_Connect_Strategy.cpp. References TAO_LF_Event::error_detected(), TAO_ORB_Core::leader_follower(), and TAO_Leader_Follower::wait_for_event().
00048 {
00049 if (transport == 0)
00050 return -1;
00051
00052 TAO_Leader_Follower &leader_follower =
00053 this->orb_core_->leader_follower ();
00054
00055 int result =
00056 leader_follower.wait_for_event (ev,
00057 transport,
00058 max_wait_time);
00059
00060 if (ev->error_detected () && result != -1)
00061 result = -1;
00062
00063 return result;
00064 }
|
1.3.6