ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ACE_Asynch_Write_Stream_Impl Class Referenceabstract

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Write_Stream class. More...

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Write_Stream_Impl:
Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Write_Stream_Impl:
Collaboration graph
[legend]

Public Member Functions

virtual ~ACE_Asynch_Write_Stream_Impl ()
 
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
 
- Public Member Functions inherited from ACE_Asynch_Operation_Impl
virtual ~ACE_Asynch_Operation_Impl ()
 
virtual int open (const ACE_Handler::Proxy_Ptr &handler_proxy, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor)=0
 
virtual int cancel ()=0
 
virtual ACE_Proactorproactor () const =0
 Return the underlying proactor.
 

Protected Member Functions

 ACE_Asynch_Write_Stream_Impl ()
 Do-nothing constructor.
 
- Protected Member Functions inherited from ACE_Asynch_Operation_Impl
 ACE_Asynch_Operation_Impl ()
 Do-nothing constructor.
 

Detailed Description

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Write_Stream class.

Constructor & Destructor Documentation

◆ ~ACE_Asynch_Write_Stream_Impl()

ACE_Asynch_Write_Stream_Impl::~ACE_Asynch_Write_Stream_Impl ( )
virtual

◆ ACE_Asynch_Write_Stream_Impl()

ACE_Asynch_Write_Stream_Impl::ACE_Asynch_Write_Stream_Impl ( )
inlineprotected

Do-nothing constructor.

Member Function Documentation

◆ write()

virtual int ACE_Asynch_Write_Stream_Impl::write ( ACE_Message_Block & message_block,
size_t bytes_to_write,
const void * act,
int priority,
int signal_number )
pure virtual

This starts off an asynchronous write. Upto bytes_to_write will be written from the message_block.

Implemented in ACE_Asynch_Write_File_Impl, ACE_POSIX_Asynch_Write_Stream, and ACE_POSIX_Asynch_Write_File.

◆ writev()

virtual int ACE_Asynch_Write_Stream_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.

Implemented in ACE_Asynch_Write_File_Impl.


The documentation for this class was generated from the following files: