diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-09 13:01:34 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-09 13:01:34 +0000 |
commit | 94be1bc69f16a262d611e1cf82d42fceadf46cb7 (patch) | |
tree | fffe7b0f377cf88ed50b5adc04e71b6c885f9d94 /TAO/tao/Connect_Strategy.cpp | |
parent | 571a689dde35816426dc6ec7da37f59c5c03d7dc (diff) | |
download | ATCD-94be1bc69f16a262d611e1cf82d42fceadf46cb7.tar.gz |
Fri Mar 9 12:55:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Connect_Strategy.cpp')
-rw-r--r-- | TAO/tao/Connect_Strategy.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/tao/Connect_Strategy.cpp b/TAO/tao/Connect_Strategy.cpp index 9a79bece571..e382a627ffd 100644 --- a/TAO/tao/Connect_Strategy.cpp +++ b/TAO/tao/Connect_Strategy.cpp @@ -26,12 +26,11 @@ TAO_Connect_Strategy::wait (TAO_Connection_Handler *ch, if (ch == 0) return -1; - return this->wait_i (ch, ch->transport (),max_wait_time); + return this->wait_i (ch, ch->transport (), max_wait_time); } int -TAO_Connect_Strategy::wait (TAO_Transport *t, - ACE_Time_Value *max_wait_time) +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 @@ -39,21 +38,21 @@ TAO_Connect_Strategy::wait (TAO_Transport *t, if (t == 0) return -1; - return this->wait_i (t->connection_handler(),t,max_wait_time); + 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); + 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); + ACE_Time_Value zero (ACE_Time_Value::zero); + return this->wait_i (mev, mev->base_transport (), &zero); } TAO_END_VERSIONED_NAMESPACE_DECL |