summaryrefslogtreecommitdiff
path: root/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp
blob: 036a804beac6142da7de6e26c2a6bf38b307d1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// $Id$

#include "tao/CSD_ThreadPool/CSD_TP_Remote_Request.h"

ACE_RCSID (CSD_ThreadPool,
           TP_Remote_Request,
           "$Id$")

#if !defined (__ACE_INLINE__)
# include "tao/CSD_ThreadPool/CSD_TP_Remote_Request.inl"
#endif /* ! __ACE_INLINE__ */

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

TAO::CSD::TP_Remote_Request::~TP_Remote_Request()
{
}


void
TAO::CSD::TP_Remote_Request::prepare_for_queue_i()
{
  this->do_clone();
}


void
TAO::CSD::TP_Remote_Request::dispatch_i()
{
  try
    {
      this->do_dispatch();
    }
  catch (const ::CORBA::Exception&)
    {
      // Eat these.  We probably should log these, but since we have already
      // unblocked the requesting thread there is no point in saving it or
      // doing anything with it.
    }
  catch (...)
    {
      // Eat these.  We probably should log these, but since we have already
      // unblocked the requesting thread there is no point in saving it or
      // doing anything with it.
    }
}


void
TAO::CSD::TP_Remote_Request::cancel_i()
{
  this->do_cancel();
}

TAO_END_VERSIONED_NAMESPACE_DECL