summaryrefslogtreecommitdiff
path: root/TAO/tao/Resume_Handle.cpp
blob: 0477047f28d35b358bc73819f0da098dc944e394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "Resume_Handle.h"
#include "ORB_Core.h"


#if !defined (__ACE_INLINE__)
# include "Resume_Handle.inl"
#endif /* __ACE_INLINE__ */

ACE_RCSID(tao, Resume_Handle, "$Id$")

void
TAO_Resume_Handle::resume_handle (void)
{
  // If we have a complete message, just resume the handler
  // Resume the handler.
  if (this->orb_core_->reactor ()->resumable_handler () &&
      this->flag_ == 0 &&
      this->handle_ != ACE_INVALID_HANDLE)
    this->orb_core_->reactor ()->resume_handler (this->handle_);

  // Set the flag to 1, so that we dont resume again..
  this->flag_ = 1;
}