summaryrefslogtreecommitdiff
path: root/TAO/tao/LF_Event.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/LF_Event.inl')
-rw-r--r--TAO/tao/LF_Event.inl27
1 files changed, 6 insertions, 21 deletions
diff --git a/TAO/tao/LF_Event.inl b/TAO/tao/LF_Event.inl
index 2a62fcfb545..d6509c68430 100644
--- a/TAO/tao/LF_Event.inl
+++ b/TAO/tao/LF_Event.inl
@@ -1,11 +1,6 @@
+// -*- C++ -*-
// $Id$
-ACE_INLINE void
-TAO_LF_Event::reset_state (int new_state)
-{
- this->state_ = new_state;
-}
-
ACE_INLINE int
TAO_LF_Event::bind (TAO_LF_Follower *follower)
{
@@ -16,31 +11,21 @@ TAO_LF_Event::bind (TAO_LF_Follower *follower)
}
ACE_INLINE int
-TAO_LF_Event::is_state_final (void)
+TAO_LF_Event::unbind (void)
{
- if (this->state_ == TAO_LF_Event::LFS_TIMEOUT ||
- this->state_ == TAO_LF_Event::LFS_FAILURE)
- return 1;
-
+ if (this->follower_ == 0)
+ return -1;
+ this->follower_ = 0;
return 0;
}
ACE_INLINE void
-TAO_LF_Event::set_state (int new_state)
+TAO_LF_Event::reset_state (int new_state)
{
this->state_ = new_state;
}
ACE_INLINE int
-TAO_LF_Event::unbind (void)
-{
- if (this->follower_ == 0)
- return -1;
- this->follower_ = 0;
- return 0;
-}
-
-ACE_INLINE int
TAO_LF_Event::keep_waiting (void)
{
return (this->successful () == 0) && (this->error_detected () == 0);