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

# ACE_POSIX_Asynch_Transmit_Handler Class Reference

Inheritance diagram for ACE_POSIX_Asynch_Transmit_Handler:

[legend]
Collaboration diagram for ACE_POSIX_Asynch_Transmit_Handler:

[legend]
List of all members.

## Public Methods
| ACE_POSIX_Asynch_Transmit_Handler (ACE_POSIX_AIOCB_Proactor *posix_aiocb_proactor, ACE_POSIX_Asynch_Transmit_File_Result *result)
virtual | ~ACE_POSIX_Asynch_Transmit_Handler (void)
int | transmit (void)
## Protected Types
enum | ACT { HEADER_ACT = 1, DATA_ACT = 2, TRAILER_ACT = 3 }
## Protected Methods
virtual void | handle_write_stream (const ACE_Asynch_Write_Stream::Result &result)
| This method will be called when an asynchronous write completes on a stream. More...
virtual void | handle_read_file (const ACE_Asynch_Read_File::Result &result)
| This method will be called when an asynchronous read completes on a file. More...
int | initiate_read_file (void)
## Protected Attributes
ACE_POSIX_Asynch_Transmit_File_Result * | result_
ACE_Message_Block * | mb_
ACT | header_act_
ACT | data_act_
ACT | trailer_act_
size_t | file_offset_
size_t | file_size_
size_t | bytes_transferred_
ACE_POSIX_Asynch_Read_File | rf_
ACE_POSIX_Asynch_Write_Stream | ws_

## Member Enumeration Documentation

enum ACE_POSIX_Asynch_Transmit_Handler::ACT`[protected]`

  | Enumeration values:
  HEADER_ACT |
  DATA_ACT |
  TRAILER_ACT |

## Constructor & Destructor Documentation

ACE_POSIX_Asynch_Transmit_Handler::ACE_POSIX_Asynch_Transmit_Handler | ( | ACE_POSIX_AIOCB_Proactor * | posix_aiocb_proactor,
|  | ACE_POSIX_Asynch_Transmit_File_Result * | result
| ) |

ACE_POSIX_Asynch_Transmit_Handler::~ACE_POSIX_Asynch_Transmit_Handler | ( | void |  | ) | `[virtual]`

## Member Function Documentation

void ACE_POSIX_Asynch_Transmit_Handler::handle_read_file | ( | const ACE_Asynch_Read_File::Result & | result | ) | `[protected, virtual]`

| This method will be called when an asynchronous read completes on a file. Reimplemented from ACE_Handler.

void ACE_POSIX_Asynch_Transmit_Handler::handle_write_stream | ( | const ACE_Asynch_Write_Stream::Result & | result | ) | `[protected, virtual]`

| This method will be called when an asynchronous write completes on a stream. Reimplemented from ACE_Handler.

int ACE_POSIX_Asynch_Transmit_Handler::initiate_read_file | ( | void |  | ) | `[protected]`

int ACE_POSIX_Asynch_Transmit_Handler::transmit | ( | void |  | ) |

## Member Data Documentation

size_t ACE_POSIX_Asynch_Transmit_Handler::bytes_transferred_`[protected]`

ACT ACE_POSIX_Asynch_Transmit_Handler::data_act_`[protected]`

size_t ACE_POSIX_Asynch_Transmit_Handler::file_offset_`[protected]`

size_t ACE_POSIX_Asynch_Transmit_Handler::file_size_`[protected]`

ACT ACE_POSIX_Asynch_Transmit_Handler::header_act_`[protected]`

ACE_Message_Block* ACE_POSIX_Asynch_Transmit_Handler::mb_`[protected]`

ACE_POSIX_Asynch_Transmit_File_Result* ACE_POSIX_Asynch_Transmit_Handler::result_`[protected]`

ACE_POSIX_Asynch_Read_File ACE_POSIX_Asynch_Transmit_Handler::rf_`[protected]`

ACT ACE_POSIX_Asynch_Transmit_Handler::trailer_act_`[protected]`

ACE_POSIX_Asynch_Write_Stream ACE_POSIX_Asynch_Transmit_Handler::ws_`[protected]`

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

- POSIX_Asynch_IO.cpp