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
57
58
59
60
61
62
63
|
/* -*- C++ -*- */
// $Id$
//
// CLASSIX/Reactor.i
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
ACE_INLINE
ACE_CLASSIX_Select_Reactor_Notify::ACE_CLASSIX_Select_Reactor_Notify(void)
: ACE_Reactor_Notify()
{
}
ACE_INLINE
ACE_CLASSIX_Select_Reactor_Notify::~ACE_CLASSIX_Select_Reactor_Notify(void)
{
}
ACE_INLINE
ACE_CLASSIX_Select_Reactor::ACE_CLASSIX_Select_Reactor(
ACE_Timer_Queue *theTimeQ)
: ACE_Select_Reactor(0, theTimeQ, 0,
new ACE_CLASSIX_Select_Reactor_Notify()),
current_msg_size_ (0),
current_handle_ (ACE_INVALID_HANDLE)
{
}
ACE_INLINE
ACE_CLASSIX_Select_Reactor::ACE_CLASSIX_Select_Reactor (
size_t theSize,
int theRs,
ACE_Timer_Queue *theTimeQ)
: ACE_Select_Reactor (theSize, theRs, 0, theTimeQ, 0,
new ACE_CLASSIX_Select_Reactor_Notify() ),
current_msg_size_ (0),
current_handle_ (ACE_INVALID_HANDLE)
{
}
ACE_INLINE
int
ACE_CLASSIX_Select_Reactor_Notify::close (void)
{
// deregister handle ???
return this->notification_sap_.close ();
}
ACE_INLINE
void
ACE_CLASSIX_Select_Reactor_Notify::max_notify_iterations (int iterations)
{
}
ACE_INLINE
int
ACE_CLASSIX_Select_Reactor_Notify::max_notify_iterations (void)
{
return 1;
}
/* ------------------------------------------------------------------------- */
|