summaryrefslogtreecommitdiff
path: root/ace/CORBA_Handler.i
blob: 794b6da5d09c235cdfa58351b16c2946888cc90d (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
56
/* -*- C++ -*- */
// $Id$

// CORBA_Handler.i

#if defined (ACE_HAS_ORBIX)
// = Set/get the number of iterations per processNextEvent() call.

/* static */ 
ACE_INLINE size_t 
ACE_ST_CORBA_Handler::iterations (void)
{
  ACE_TRACE ("ACE_ST_CORBA_Handler::iterations");
  return this->iterations_;
}

/* static */ 
ACE_INLINE void
ACE_ST_CORBA_Handler::iterations (size_t i)
{
  ACE_TRACE ("ACE_ST_CORBA_Handler::iterations");
  this->iterations_ = i;
}

/* static */
ACE_INLINE void
ACE_CORBA_Handler::reactor (ACE_Reactor *reactor)
{
  ACE_TRACE ("ACE_CORBA_Handler::reactor");
  this->reactor_ = reactor;
}

/* static */
ACE_INLINE ACE_Reactor *
ACE_CORBA_Handler::reactor (void)
{
  ACE_TRACE ("ACE_CORBA_Handler::reactor");
  return this->reactor_;
}

#if defined (ACE_HAS_MT_ORBIX)
ACE_INLINE void
ACE_MT_CORBA_Handler::thr_mgr (ACE_Thread_Manager *tm) 
{
  ACE_TRACE ("ACE_MT_CORBA_Handler::thr_mgr");
  this->thr_mgr_ = tm;
}

ACE_INLINE ACE_Thread_Manager *
ACE_MT_CORBA_Handler::thr_mgr (void) const
{
  ACE_TRACE ("ACE_MT_CORBA_Handler::thr_mgr");
  return this->thr_mgr_;
}
#endif /* ACE_HAS_MT_ORBIX */
#endif /* ACE_HAS_ORBIX */