Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_POSIX_AIOCB_Asynch_Read_Stream Class Reference

#include <POSIX_Asynch_IO.h>

Inheritance diagram for ACE_POSIX_AIOCB_Asynch_Read_Stream

Inheritance graph
[legend]
Collaboration diagram for ACE_POSIX_AIOCB_Asynch_Read_Stream:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_POSIX_AIOCB_Asynch_Read_Stream (ACE_POSIX_AIOCB_Proactor *posix_aiocb_proactor)
 Constructor.

int read (ACE_Message_Block &message_block, u_long bytes_to_read, const void *act, int priority, int signal_number = 0)
 This starts off an asynchronous read. Upto <bytes_to_read> will be read and stored in the <message_block>.

virtual ~ACE_POSIX_AIOCB_Asynch_Read_Stream (void)
 Destructor.

int open (ACE_Handler &handler, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor = 0)
int cancel (void)
 Not implemented. Returns 0. More...

ACE_Proactorproactor (void) const
 Return the underlying proactor.


Detailed Description

This class implements for (Asynchronous I/O Control Blocks) based implementation of Proactor.


Constructor & Destructor Documentation

ACE_POSIX_AIOCB_Asynch_Read_Stream::ACE_POSIX_AIOCB_Asynch_Read_Stream ( ACE_POSIX_AIOCB_Proactor * posix_aiocb_proactor )
 

Constructor.

ACE_POSIX_AIOCB_Asynch_Read_Stream::~ACE_POSIX_AIOCB_Asynch_Read_Stream ( void ) [virtual]
 

Destructor.


Member Function Documentation

int ACE_POSIX_AIOCB_Asynch_Read_Stream::cancel ( void )
 

Not implemented. Returns 0.

@

Reimplemented from ACE_POSIX_Asynch_Operation.

Reimplemented in ACE_POSIX_AIOCB_Asynch_Read_File.

int ACE_POSIX_AIOCB_Asynch_Read_Stream::open ( ACE_Handler & handler,
ACE_HANDLE handle,
const void * completion_key,
ACE_Proactor * proactor = 0 )
 

Initializes the factory with information which will be used with each asynchronous call. If (<handle> == ACE_INVALID_HANDLE), will be called on the <handler> to get the correct handle.

Reimplemented from ACE_POSIX_Asynch_Operation.

Reimplemented in ACE_POSIX_AIOCB_Asynch_Read_File.

ACE_Proactor * ACE_POSIX_AIOCB_Asynch_Read_Stream::proactor ( void ) const
 

Return the underlying proactor.

Reimplemented from ACE_POSIX_Asynch_Operation.

Reimplemented in ACE_POSIX_AIOCB_Asynch_Read_File.

int ACE_POSIX_AIOCB_Asynch_Read_Stream::read ( ACE_Message_Block & message_block,
u_long bytes_to_read,
const void * act,
int priority,
int signal_number = 0 )
 

This starts off an asynchronous read. Upto <bytes_to_read> will be read and stored in the <message_block>.

Reimplemented in ACE_POSIX_AIOCB_Asynch_Read_File.


The documentation for this class was generated from the following files:
Generated at Fri Oct 5 07:03:29 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000