diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Connect_Strategy.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Connect_Strategy.cpp')
-rw-r--r-- | TAO/tao/Connect_Strategy.cpp | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/TAO/tao/Connect_Strategy.cpp b/TAO/tao/Connect_Strategy.cpp deleted file mode 100644 index 9a79bece571..00000000000 --- a/TAO/tao/Connect_Strategy.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "tao/Connect_Strategy.h" -#include "tao/Transport.h" -#include "tao/Connection_Handler.h" -#include "tao/LF_Multi_Event.h" - -ACE_RCSID (tao, - Connect_Strategy, - "$Id$") - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_Connect_Strategy::TAO_Connect_Strategy (TAO_ORB_Core *orb_core) - : orb_core_ (orb_core) -{ -} - - -TAO_Connect_Strategy::~TAO_Connect_Strategy (void) -{ -} - -int -TAO_Connect_Strategy::wait (TAO_Connection_Handler *ch, - ACE_Time_Value *max_wait_time) -{ - if (ch == 0) - return -1; - - return this->wait_i (ch, ch->transport (),max_wait_time); -} - -int -TAO_Connect_Strategy::wait (TAO_Transport *t, - ACE_Time_Value *max_wait_time) -{ - // Basically the connection was EINPROGRESS, but before we could - // wait for it some other thread detected a failure and cleaned up - // the connection handler. - if (t == 0) - return -1; - - return this->wait_i (t->connection_handler(),t,max_wait_time); -} - -int -TAO_Connect_Strategy::wait (TAO_LF_Multi_Event *mev, - ACE_Time_Value *max_wait_time) -{ - return this->wait_i (mev, mev->base_transport(), max_wait_time); -} - -int -TAO_Connect_Strategy::poll (TAO_LF_Multi_Event *mev) -{ - ACE_Time_Value zero(ACE_Time_Value::zero); - return this->wait_i (mev, mev->base_transport(), &zero); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |