Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Write_File.
More...
#include <Asynch_IO_Impl.h>
|
virtual | ~ACE_Asynch_Write_File_Impl (void) |
|
virtual int | write (ACE_Message_Block &message_block, size_t bytes_to_write, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0 |
|
virtual int | writev (ACE_Message_Block &message_block, size_t bytes_to_write, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0 |
|
virtual int | write (ACE_Message_Block &message_block, size_t bytes_to_write, const void *act, int priority, int signal_number)=0 |
|
virtual int | writev (ACE_Message_Block &message_block, size_t bytes_to_write, const void *act, int priority, int signal_number)=0 |
|
virtual | ~ACE_Asynch_Write_Stream_Impl (void) |
|
virtual | ~ACE_Asynch_Operation_Impl (void) |
|
virtual int | open (const ACE_Handler::Proxy_Ptr &handler_proxy, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor)=0 |
|
virtual int | cancel (void)=0 |
|
virtual ACE_Proactor * | proactor (void) const =0 |
| Return the underlying proactor. More...
|
|
Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Write_File.
ACE_Asynch_Write_File_Impl::~ACE_Asynch_Write_File_Impl |
( |
void |
| ) |
|
|
virtual |
ACE_Asynch_Write_File_Impl::ACE_Asynch_Write_File_Impl |
( |
void |
| ) |
|
|
inlineprotected |
virtual int ACE_Asynch_Write_File_Impl::write |
( |
ACE_Message_Block & |
message_block, |
|
|
size_t |
bytes_to_write, |
|
|
u_long |
offset, |
|
|
u_long |
offset_high, |
|
|
const void * |
act, |
|
|
int |
priority, |
|
|
int |
signal_number |
|
) |
| |
|
pure virtual |
This starts off an asynchronous write. Upto bytes_to_write will be write and stored in the message_block. The write will start at offset from the beginning of the file.
Implemented in ACE_POSIX_Asynch_Write_File.
virtual int ACE_Asynch_Write_File_Impl::write |
( |
ACE_Message_Block & |
message_block, |
|
|
size_t |
bytes_to_write, |
|
|
const void * |
act, |
|
|
int |
priority, |
|
|
int |
signal_number |
|
) |
| |
|
pure virtual |
virtual int ACE_Asynch_Write_File_Impl::writev |
( |
ACE_Message_Block & |
message_block, |
|
|
size_t |
bytes_to_write, |
|
|
u_long |
offset, |
|
|
u_long |
offset_high, |
|
|
const void * |
act, |
|
|
int |
priority, |
|
|
int |
signal_number |
|
) |
| |
|
pure virtual |
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
virtual int ACE_Asynch_Write_File_Impl::writev |
( |
ACE_Message_Block & |
message_block, |
|
|
size_t |
bytes_to_write, |
|
|
const void * |
act, |
|
|
int |
priority, |
|
|
int |
signal_number |
|
) |
| |
|
pure virtual |
Same as above but with gather support, through chaining of composite message blocks using the continuation field.
Implements ACE_Asynch_Write_Stream_Impl.
The documentation for this class was generated from the following files: