summaryrefslogtreecommitdiff
path: root/ace/Proactor.i
blob: fe58070da7885d1e85426f99bdf1dce98a031e96 (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
/* -*- C++ -*- */
// $Id$


ACE_INLINE off_t
ACE_Overlapped_File::offset (void) const
{
  ACE_TRACE ("ACE_Overlapped_File::offset");
  return this->offset_;
}

ACE_INLINE off_t
ACE_Overlapped_File::size (void) const
{
  ACE_TRACE ("ACE_Overlapped_File::size");
  return ACE_OS::filesize (this->handle_);
}

ACE_INLINE ACE_HANDLE
ACE_Overlapped_File::get_handle (void) const
{
  ACE_TRACE ("ACE_Overlapped_File::get_handle");
  return this->handle_;
}

ACE_INLINE int
ACE_Proactor::cancel_timer (ACE_Event_Handler *handler)
{
  ACE_TRACE ("ACE_Proactor::cancel_timer");
  return this->timer_queue_.cancel (handler);
}

ACE_INLINE int
ACE_Proactor::cancel_timer (int timer_id, 
			    const void **arg)
{
  ACE_TRACE ("ACE_Proactor::cancel_timer");
  return this->timer_queue_.cancel (timer_id, arg);
}

ACE_INLINE ACE_HANDLE
ACE_Proactor::get_handle (void) const
{
  ACE_TRACE ("ACE_Proactor::get_handle");

  return this->global_handle_;
}

ACE_INLINE int
ACE_Proactor::handle_events (ACE_Time_Value &how_long)
{
  return this->handle_events (&how_long);
}