summaryrefslogtreecommitdiff
path: root/ace/Asynch_IO.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2002-04-27 14:29:58 +0000
committerbala <balanatarajan@users.noreply.github.com>2002-04-27 14:29:58 +0000
commit85a54511d8df2ce17670b98e5120c464e74b9d3b (patch)
treeec4e219c5a8fb2d9b1c4b7bf9668bdee4f576ca9 /ace/Asynch_IO.h
parent115ad93489d93dd1cba58dc056319f3765c1e719 (diff)
downloadATCD-85a54511d8df2ce17670b98e5120c464e74b9d3b.tar.gz
ChangeLogTag: Sat Apr 27 09:26:43 2002 Balachandran Natarajan <bala@guajira.cs.wustl.edu>
Diffstat (limited to 'ace/Asynch_IO.h')
-rw-r--r--ace/Asynch_IO.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/ace/Asynch_IO.h b/ace/Asynch_IO.h
index 6ef44ee5882..70c61556757 100644
--- a/ace/Asynch_IO.h
+++ b/ace/Asynch_IO.h
@@ -294,6 +294,18 @@ public:
int priority = 0,
int signal_number = ACE_SIGRTMIN);
+#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE))
+ /**
+ * Same as above but with scatter support, through chaining of composite
+ * message blocks using the continuation field.
+ */
+ int readv (ACE_Message_Block &message_block,
+ u_long num_bytes_to_read,
+ const void *act = 0,
+ int priority = 0,
+ int signal_number = ACE_SIGRTMIN);
+#endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */
+
/// Return the underlying implementation class.
ACE_Asynch_Read_Stream_Impl *implementation (void) const;
@@ -408,6 +420,18 @@ public:
int priority = 0,
int signal_number = ACE_SIGRTMIN);
+#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE))
+ /**
+ * Same as above but with gather support, through chaining of composite
+ * message blocks using the continuation field.
+ */
+ int writev (ACE_Message_Block &message_block,
+ u_long bytes_to_write,
+ const void *act = 0,
+ int priority = 0,
+ int signal_number = ACE_SIGRTMIN);
+#endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */
+
/// Return the underlying implementation class.
ACE_Asynch_Write_Stream_Impl *implementation (void) const;
@@ -525,6 +549,22 @@ public:
int priority = 0,
int signal_number = ACE_SIGRTMIN);
+#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE))
+ /**
+ * Same as above but with scatter support, through chaining of composite
+ * message blocks using the continuation field.
+ * NOTE: In win32 Each data block payload must be at least the size of a system
+ * memory page and must be aligned on a system memory page size boundary
+ */
+ int readv (ACE_Message_Block &message_block,
+ u_long bytes_to_read,
+ u_long offset = 0,
+ u_long offset_high = 0,
+ const void *act = 0,
+ int priority = 0,
+ int signal_number = ACE_SIGRTMIN);
+#endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */
+
/// Return the underlying implementation class.
ACE_Asynch_Read_File_Impl *implementation (void) const;
@@ -645,6 +685,22 @@ public:
int priority = 0,
int signal_number = ACE_SIGRTMIN);
+#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE))
+ /**
+ * Same as above but with gather support, through chaining of composite
+ * message blocks using the continuation field.
+ * NOTE: In win32 Each data block payload must be at least the size of a system
+ * memory page and must be aligned on a system memory page size boundary
+ */
+ int writev (ACE_Message_Block &message_block,
+ u_long bytes_to_write,
+ u_long offset = 0,
+ u_long offset_high = 0,
+ const void *act = 0,
+ int priority = 0,
+ int signal_number = ACE_SIGRTMIN);
+#endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */
+
/// Return the underlying implementation class.
ACE_Asynch_Write_File_Impl *implementation (void) const;