diff options
Diffstat (limited to 'TAO/tao/Resume_Handle_Deferred.cpp')
-rw-r--r-- | TAO/tao/Resume_Handle_Deferred.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/TAO/tao/Resume_Handle_Deferred.cpp b/TAO/tao/Resume_Handle_Deferred.cpp deleted file mode 100644 index c668f515a2d..00000000000 --- a/TAO/tao/Resume_Handle_Deferred.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// $Id$ - -#include "tao/Resume_Handle_Deferred.h" -#include "tao/Resume_Handle.h" -#include "tao/ORB_Core.h" -#include "ace/Reactor.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_Resume_Handle_Deferred::TAO_Resume_Handle_Deferred ( - TAO_ORB_Core* orbc, - ACE_Event_Handler* h) : - ACE_Event_Handler (orbc->reactor()) - , h_ (h) - , orbc_ (orbc) -{ - h->add_reference (); - this->reference_counting_policy ().value - (ACE_Event_Handler::Reference_Counting_Policy::ENABLED); -} - -TAO_Resume_Handle_Deferred::~TAO_Resume_Handle_Deferred (void) -{ -} - -int -TAO_Resume_Handle_Deferred:: handle_timeout (const ACE_Time_Value &, const void *) -{ - // Send a notification to the reactor to cause the awakening of a new - // follower, if there is one already available. - ACE_Reactor *reactor = this->orbc_->reactor (); - int const retval = reactor->notify (this->h_.handler (), ACE_Event_Handler::READ_MASK); - if (TAO_debug_level > 2) - { - // @@todo: need to think about what is the action that - // we can take when we get here with an error?! - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("TAO (%P|%t) - TAO_Resume_Handle_Deferred[%d]::handle_timeout, ") - ACE_TEXT ("a connection_handler has been resumed, ") - ACE_TEXT ("notified the reactor, retval=%d.\n"), h_->get_handle (), retval)); - } - return -1; // -1 will cause the reactor to call handle_close() and dispose of the instance -} - -TAO_END_VERSIONED_NAMESPACE_DECL - |