ACE
6.1.2
|
This base class defines the interface for the ACE_Asynch_Acceptor to call into when new connection are accepted. More...
#include <Asynch_IO.h>
Public Member Functions | |
ACE_Service_Handler (void) | |
A do nothing constructor. | |
virtual | ~ACE_Service_Handler (void) |
Virtual destruction. | |
virtual void | open (ACE_HANDLE new_handle, ACE_Message_Block &message_block) |
virtual void | addresses (const ACE_INET_Addr &remote_address, const ACE_INET_Addr &local_address) |
virtual void | act (const void *) |
Called by ACE_Asynch_Acceptor to pass the act. | |
Friends | |
class | ACE_Asynch_Acceptor< ACE_Service_Handler > |
This base class defines the interface for the ACE_Asynch_Acceptor to call into when new connection are accepted.
Subclasses of this class will fill in appropriate methods to define application specific behavior.
A do nothing constructor.
|
virtual |
Virtual destruction.
|
virtual |
Called by ACE_Asynch_Acceptor to pass the act.
|
virtual |
Called by ACE_Asynch_Acceptor to pass the addresses of the new connections.
|
virtual |
{open} is called by ACE_Asynch_Acceptor to initialize a new instance of ACE_Service_Handler that has been created after the new connection is accepted. The handle for the new connection is passed along with the initial data that may have shown up.
|
friend |
The Acceptor is the factory and therefore should have special privileges.