#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
. 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_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.
|
A do nothing constructor.
|
|
A do nothing constructor which allows proactor to be set to .
|
|
Virtual destruction.
|
|
Set the ACE_HANDLE value for this Handler.
Reimplemented in ACE_Asynch_Acceptor. |
|
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. |
|
This method will be called when an asynchronous accept completes.
Reimplemented in ACE_Asynch_Acceptor. |
|
This method will be called when an asynchronous read completes on a UDP socket.
|
|
This method will be called when an asynchronous read completes on a file.
Reimplemented in ACE_POSIX_AIOCB_Asynch_Transmit_Handler. |
|
This method will be called when an asynchronous read completes on a stream.
Reimplemented in ACE_AIOCB_Notify_Pipe_Manager. |
|
Called when timer expires. <tv> was the requested time value and <act> is the ACT passed when scheduling the timer.
|
|
This method will be called when an asynchronous transmit file completes.
|
|
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. |
|
This method will be called when an asynchronous write completes on a UDP socket.
|
|
This method will be called when an asynchronous write completes on a file.
|
|
This method will be called when an asynchronous write completes on a stream.
Reimplemented in ACE_POSIX_AIOCB_Asynch_Transmit_Handler. |
|
Set the proactor.
|
|
Get the proactor associated with this handler.
|
|
The ACE_HANDLE in use with this handler.
|
|
The proactor associated with this handler.
|