summaryrefslogtreecommitdiff
path: root/ace/Proactor.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/Proactor.i
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'ace/Proactor.i')
-rw-r--r--ace/Proactor.i54
1 files changed, 54 insertions, 0 deletions
diff --git a/ace/Proactor.i b/ace/Proactor.i
new file mode 100644
index 00000000000..fe58070da78
--- /dev/null
+++ b/ace/Proactor.i
@@ -0,0 +1,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);
+}
+