#include <Asynch_IO.h>
Inheritance diagram for ACE_Handler:


Public Methods | |
| ACE_Handler (void) | |
| A do nothing constructor. More... | |
| ACE_Handler (ACE_Proactor *p) | |
| A do nothing constructor which allows proactor to be set to <p>. More... | |
| virtual | ~ACE_Handler (void) |
| Virtual destruction. More... | |
| virtual void | handle_read_stream (const ACE_Asynch_Read_Stream::Result &result) |
| This method will be called when an asynchronous read completes on a stream. More... | |
| virtual void | handle_write_dgram (const ACE_Asynch_Write_Dgram::Result &result) |
| This method will be called when an asynchronous write completes on a UDP socket. More... | |
| virtual void | handle_read_dgram (const ACE_Asynch_Read_Dgram::Result &result) |
| This method will be called when an asynchronous read completes on a UDP socket. More... | |
| 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... | |
| virtual void | handle_write_file (const ACE_Asynch_Write_File::Result &result) |
| This method will be called when an asynchronous write completes on a file. More... | |
| virtual void | handle_accept (const ACE_Asynch_Accept::Result &result) |
| This method will be called when an asynchronous accept completes. More... | |
| virtual void | handle_connect (const ACE_Asynch_Connect::Result &result) |
| This method will be called when an asynchronous connect completes. More... | |
| virtual void | handle_transmit_file (const ACE_Asynch_Transmit_File::Result &result) |
| This method will be called when an asynchronous transmit file completes. More... | |
| virtual void | handle_time_out (const ACE_Time_Value &tv, const void *act=0) |
| Called when timer expires. <tv> was the requested time value and <act> is the ACT passed when scheduling the timer. More... | |
| virtual void | handle_wakeup (void) |
| ACE_Proactor * | proactor (void) |
| Get the proactor associated with this handler. More... | |
| void | proactor (ACE_Proactor *p) |
| Set the proactor. More... | |
| virtual ACE_HANDLE | handle (void) const |
| virtual void | handle (ACE_HANDLE) |
| Set the ACE_HANDLE value for this Handler. More... | |
Protected Attributes | |
| ACE_Proactor * | proactor_ |
| The proactor associated with this handler. More... | |
| ACE_HANDLE | handle_ |
| The ACE_HANDLE in use with this handler. More... | |
Subclasses of this class will fill in appropriate methods.
Definition at line 1471 of file Asynch_IO.h.
|
|
A do nothing constructor.
Definition at line 1096 of file Asynch_IO.cpp.
|
|
|
A do nothing constructor which allows proactor to be set to <p>.
Definition at line 1101 of file Asynch_IO.cpp.
|
|
|
Virtual destruction.
Definition at line 1106 of file Asynch_IO.cpp.
01107 {
01108 }
|
|
|
Set the ACE_HANDLE value for this Handler.
Reimplemented in ACE_Asynch_Acceptor. Definition at line 1185 of file Asynch_IO.cpp. References handle_.
01186 {
01187 this->handle_ = h;
01188 }
|
|
|
Get the I/O handle used by this <handler>. This method will be called by the ACE_Asynch_* classes when an ACE_INVALID_HANDLE is passed to <open>. Reimplemented in ACE_Asynch_Acceptor. Definition at line 1179 of file Asynch_IO.cpp. References handle_. Referenced by ACE_Asynch_Acceptor::handle, ACE_WIN32_Asynch_Operation::open, and ACE_POSIX_Asynch_Operation::open.
01180 {
01181 return this->handle_;
01182 }
|
|
|
This method will be called when an asynchronous accept completes.
Reimplemented in ACE_Asynch_Acceptor. Definition at line 1131 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Accept_Result::complete, and ACE_POSIX_Asynch_Accept_Result::complete.
01132 {
01133 }
|
|
|
This method will be called when an asynchronous connect completes.
Reimplemented in ACE_Asynch_Connector. Definition at line 1136 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Connect_Result::complete, and ACE_POSIX_Asynch_Connect_Result::complete.
01137 {
01138 }
|
|
|
This method will be called when an asynchronous read completes on a UDP socket.
Definition at line 1126 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Read_Dgram_Result::complete, and ACE_POSIX_Asynch_Read_Dgram_Result::complete.
01127 {
01128 }
|
|
|
This method will be called when an asynchronous read completes on a file.
Reimplemented in ACE_POSIX_Asynch_Transmit_Handler. Definition at line 1146 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Read_File_Result::complete, and ACE_POSIX_Asynch_Read_File_Result::complete.
01147 {
01148 }
|
|
|
This method will be called when an asynchronous read completes on a stream.
Reimplemented in ACE_AIOCB_Notify_Pipe_Manager. Definition at line 1111 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Read_Stream_Result::complete, and ACE_POSIX_Asynch_Read_Stream_Result::complete.
01112 {
01113 }
|
|
||||||||||||
|
Called when timer expires. <tv> was the requested time value and <act> is the ACT passed when scheduling the timer.
Definition at line 1156 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Timer::complete, and ACE_POSIX_Asynch_Timer::complete.
01158 {
01159 }
|
|
|
This method will be called when an asynchronous transmit file completes.
Definition at line 1141 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Transmit_File_Result::complete, and ACE_POSIX_Asynch_Transmit_File_Result::complete.
01142 {
01143 }
|
|
|
This is method works with the <run_event_loop> of the ACE_Proactor. A special <Wake_Up_Completion> is used to wake up all the threads that are blocking for completions. Definition at line 1162 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Wakeup_Completion::complete, and ACE_POSIX_Wakeup_Completion::complete.
01163 {
01164 }
|
|
|
This method will be called when an asynchronous write completes on a UDP socket.
Definition at line 1121 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Write_Dgram_Result::complete, and ACE_POSIX_Asynch_Write_Dgram_Result::complete.
01122 {
01123 }
|
|
|
This method will be called when an asynchronous write completes on a file.
Definition at line 1151 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Write_File_Result::complete, and ACE_POSIX_Asynch_Write_File_Result::complete.
01152 {
01153 }
|
|
|
This method will be called when an asynchronous write completes on a stream.
Reimplemented in ACE_POSIX_Asynch_Transmit_Handler. Definition at line 1116 of file Asynch_IO.cpp. Referenced by ACE_WIN32_Asynch_Write_Stream_Result::complete, and ACE_POSIX_Asynch_Write_Stream_Result::complete.
01117 {
01118 }
|
|
|
Set the proactor.
Definition at line 1173 of file Asynch_IO.cpp. References proactor_.
01174 {
01175 this->proactor_ = p;
01176 }
|
|
|
Get the proactor associated with this handler.
Definition at line 1167 of file Asynch_IO.cpp. References proactor_. Referenced by ACE_Asynch_Operation::get_proactor, ACE_POSIX_Asynch_Operation::open, ACE_Asynch_Connector::open, and ACE_Asynch_Acceptor::open.
01168 {
01169 return this->proactor_;
01170 }
|
|
|
The ACE_HANDLE in use with this handler.
Definition at line 1550 of file Asynch_IO.h. Referenced by handle. |
|
|
The proactor associated with this handler.
Definition at line 1547 of file Asynch_IO.h. Referenced by proactor. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002