#include "tao/Resume_Handle.h" #include "tao/ORB_Core.h" #include "ace/Reactor.h" #if !defined (__ACE_INLINE__) # include "tao/Resume_Handle.inl" #endif /* __ACE_INLINE__ */ ACE_RCSID (tao, Resume_Handle, "$Id$") TAO_BEGIN_VERSIONED_NAMESPACE_DECL void TAO_Resume_Handle::resume_handle (void) { // If we have a complete message, just resume the handler // Resume the handler. if (this->orb_core_ && this->orb_core_->reactor ()->resumable_handler () && this->flag_ == TAO_HANDLE_RESUMABLE && this->handle_ != ACE_INVALID_HANDLE) { this->orb_core_->reactor ()->resume_handler (this->handle_); } // Set the flag, so that we dont resume again.. this->flag_ = TAO_HANDLE_ALREADY_RESUMED; } TAO_END_VERSIONED_NAMESPACE_DECL