summaryrefslogtreecommitdiff
path: root/ACE/ace/WIN32_Asynch_IO.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/WIN32_Asynch_IO.h')
-rw-r--r--ACE/ace/WIN32_Asynch_IO.h288
1 files changed, 144 insertions, 144 deletions
diff --git a/ACE/ace/WIN32_Asynch_IO.h b/ACE/ace/WIN32_Asynch_IO.h
index 41ceffac051..42d91ee4ca5 100644
--- a/ACE/ace/WIN32_Asynch_IO.h
+++ b/ACE/ace/WIN32_Asynch_IO.h
@@ -67,39 +67,39 @@ class ACE_Export ACE_WIN32_Asynch_Result : public virtual ACE_Asynch_Result_Impl
public:
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -172,7 +172,7 @@ public:
// = Access methods.
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
protected:
/// Constructor.
@@ -212,57 +212,57 @@ class ACE_Export ACE_WIN32_Asynch_Read_Stream_Result : public virtual ACE_Asynch
public:
/// The number of bytes which were requested at the start of the
/// asynchronous read.
- size_t bytes_to_read (void) const;
+ size_t bytes_to_read () const;
/// Message block which contains the read data.
- ACE_Message_Block &message_block (void) const;
+ ACE_Message_Block &message_block () const;
/// I/O handle used for reading.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
// Base class operations. These operations are here to kill
// dominance warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
/// Accessor for the scatter read flag
- int scatter_enabled (void) const;
+ int scatter_enabled () const;
protected:
/// Constructor is protected since creation is limited to
@@ -363,7 +363,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
protected:
/// This is the method which does the real work and is there so that
@@ -389,57 +389,57 @@ class ACE_Export ACE_WIN32_Asynch_Write_Stream_Result : public virtual ACE_Async
public:
/// The number of bytes which were requested at the start of the
/// asynchronous write.
- size_t bytes_to_write (void) const;
+ size_t bytes_to_write () const;
/// Message block that contains the data to be written.
- ACE_Message_Block &message_block (void) const;
+ ACE_Message_Block &message_block () const;
/// I/O handle used for writing.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
// = Base class operations. These operations are here to kill some
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
/// Accessor for the gather write flag
- int gather_enabled (void) const;
+ int gather_enabled () const;
protected:
/// Constructor is protected since creation is limited to
@@ -541,7 +541,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
};
/**
@@ -565,39 +565,39 @@ public:
// methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
// The following methods belong to
// ACE_WIN32_Asynch_Read_Stream_Result. They are here to avoid VC++
@@ -606,13 +606,13 @@ public:
/// The number of bytes which were requested at the start of the
/// asynchronous read.
- size_t bytes_to_read (void) const;
+ size_t bytes_to_read () const;
/// Message block which contains the read data.
- ACE_Message_Block &message_block (void) const;
+ ACE_Message_Block &message_block () const;
/// I/O handle used for reading.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -720,7 +720,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
private:
/**
@@ -776,39 +776,39 @@ public:
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
// The following methods belong to
// ACE_WIN32_Asynch_Read_Stream_Result. They are here to avoid VC++
@@ -817,13 +817,13 @@ public:
/// The number of bytes which were requested at the start of the
/// asynchronous write.
- size_t bytes_to_write (void) const;
+ size_t bytes_to_write () const;
/// Message block that contains the data to be written.
- ACE_Message_Block &message_block (void) const;
+ ACE_Message_Block &message_block () const;
/// I/O handle used for writing.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -926,7 +926,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
private:
/**
@@ -973,54 +973,54 @@ class ACE_Export ACE_WIN32_Asynch_Accept_Result : public virtual ACE_Asynch_Acce
public:
/// The number of bytes which were requested at the start of the
/// asynchronous accept.
- size_t bytes_to_read (void) const;
+ size_t bytes_to_read () const;
/// Message block which contains the read data.
- ACE_Message_Block &message_block (void) const;
+ ACE_Message_Block &message_block () const;
/// I/O handle used for accepting new connections.
- ACE_HANDLE listen_handle (void) const;
+ ACE_HANDLE listen_handle () const;
/// I/O handle for the new connection.
- ACE_HANDLE accept_handle (void) const;
+ ACE_HANDLE accept_handle () const;
// = Base class operations. These operations are here to kill some
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -1124,7 +1124,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
};
/**
@@ -1149,45 +1149,45 @@ class ACE_Export ACE_WIN32_Asynch_Connect_Result : public virtual ACE_Asynch_Con
public:
/// I/O handle for the connection.
- ACE_HANDLE connect_handle (void) const;
+ ACE_HANDLE connect_handle () const;
// = Base class operations. These operations are here to kill some
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* Returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post this object to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -1274,7 +1274,7 @@ public:
int close (void);
/// Virtual from ACE_Event_Handler
- ACE_HANDLE get_handle (void) const;
+ ACE_HANDLE get_handle () const;
/// Virtual from ACE_Event_Handler
void set_handle (ACE_HANDLE handle);
@@ -1291,7 +1291,7 @@ public:
// methods are defined here to avoid dominace warnings. They route
// the call to the ACE_WIN32_Asynch_Operation base class.
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
private:
int connect_i (ACE_WIN32_Asynch_Connect_Result *result,
@@ -1355,62 +1355,62 @@ class ACE_Export ACE_WIN32_Asynch_Transmit_File_Result : public virtual ACE_Asyn
public:
/// Socket used for transmitting the file.
- ACE_HANDLE socket (void) const;
+ ACE_HANDLE socket () const;
/// File from which the data is read.
- ACE_HANDLE file (void) const;
+ ACE_HANDLE file () const;
/// Header and trailer data associated with this transmit file.
- ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (void) const;
+ ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer () const;
/// The number of bytes which were requested at the start of the
/// asynchronous transmit file.
- size_t bytes_to_write (void) const;
+ size_t bytes_to_write () const;
/// Number of bytes per send requested at the start of the transmit
/// file.
- size_t bytes_per_send (void) const;
+ size_t bytes_per_send () const;
/// Flags which were passed into transmit file.
- u_long flags (void) const;
+ u_long flags () const;
// Base class operations. These operations are here to kill some
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -1536,7 +1536,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
};
/**
@@ -1557,10 +1557,10 @@ class ACE_Export ACE_WIN32_Asynch_Read_Dgram_Result : public virtual ACE_Asynch_
public:
/// The number of bytes which were requested at the start of the
/// asynchronous read.
- size_t bytes_to_read (void) const;
+ size_t bytes_to_read () const;
/// Message block which contains the read data
- ACE_Message_Block *message_block (void) const;
+ ACE_Message_Block *message_block () const;
/// The address of where the packet came from
int remote_address (ACE_Addr& addr) const;
@@ -1568,48 +1568,48 @@ public:
sockaddr *saddr () const;
/// The flags used in the read
- int flags (void) const;
+ int flags () const;
/// I/O handle used for reading.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
// Base class operations. These operations are here to kill
// dominance warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -1725,7 +1725,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
protected:
/// Do-nothing constructor.
@@ -1750,54 +1750,54 @@ class ACE_Export ACE_WIN32_Asynch_Write_Dgram_Result : public virtual ACE_Asynch
public:
/// The number of bytes which were requested at the start of the
/// asynchronous write.
- size_t bytes_to_write (void) const;
+ size_t bytes_to_write () const;
/// Message block which contains the sent data
- ACE_Message_Block *message_block (void) const;
+ ACE_Message_Block *message_block () const;
/// The flags using in the write
- int flags (void) const;
+ int flags () const;
/// I/O handle used for writing.
- ACE_HANDLE handle (void) const;
+ ACE_HANDLE handle () const;
// = Base class operations. These operations are here to kill some
// warnings. These methods call the base class methods.
/// Number of bytes transferred by the operation.
- size_t bytes_transferred (void) const;
+ size_t bytes_transferred () const;
/// ACT associated with the operation.
- const void *act (void) const;
+ const void *act () const;
/// Did the operation succeed?
- int success (void) const;
+ int success () const;
/**
* This returns the ACT associated with the handle when it was
* registered with the I/O completion port. This ACT is not the
* same as the ACT associated with the asynchronous operation.
*/
- const void *completion_key (void) const;
+ const void *completion_key () const;
/// Error value if the operation fail.
- u_long error (void) const;
+ u_long error () const;
/// Event associated with the OVERLAPPED structure.
- ACE_HANDLE event (void) const;
+ ACE_HANDLE event () const;
/// This really make sense only when doing file I/O.
- u_long offset (void) const;
+ u_long offset () const;
/// Offset_high associated with the OVERLAPPED structure.
- u_long offset_high (void) const;
+ u_long offset_high () const;
/// The priority of the asynchronous operation. Currently, this is
/// not supported on Win32.
- int priority (void) const;
+ int priority () const;
/// No-op. Returns 0.
- int signal_number (void) const;
+ int signal_number () const;
/// Post @c this to the Proactor's completion port.
int post_completion (ACE_Proactor_Impl *proactor);
@@ -1909,7 +1909,7 @@ public:
int cancel (void);
/// Return the underlying proactor.
- ACE_Proactor* proactor (void) const;
+ ACE_Proactor* proactor () const;
protected:
/// Do-nothing constructor.