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

ACE_Service_Handler Class Reference

This base class defines the interface for the ACE_Asynch_Acceptor to call into when new connection are accepted. More...

#include <Asynch_IO.h>

Inheritance diagram for ACE_Service_Handler:

Inheritance graph
[legend]
Collaboration diagram for ACE_Service_Handler:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Service_Handler (void)
 A do nothing constructor. More...

virtual ~ACE_Service_Handler (void)
 Virtual destruction. More...

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)
 Called by ACE_Asynch_Acceptor to pass the addresses of the new connections. More...

virtual void act (const void *)
 Called by ACE_Asynch_Acceptor to pass the act. More...


Friends

class ACE_Asynch_Acceptor< ACE_Service_Handler >
 The Acceptor is the factory and therefore should have special privileges. More...


Detailed Description

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.

Definition at line 1570 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Service_Handler::ACE_Service_Handler void   
 

A do nothing constructor.

Definition at line 1192 of file Asynch_IO.cpp.

01193 {
01194 }

ACE_Service_Handler::~ACE_Service_Handler void    [virtual]
 

Virtual destruction.

Definition at line 1196 of file Asynch_IO.cpp.

01197 {
01198 }


Member Function Documentation

void ACE_Service_Handler::act const void *    [virtual]
 

Called by ACE_Asynch_Acceptor to pass the act.

Definition at line 1207 of file Asynch_IO.cpp.

01208 {
01209 }

void ACE_Service_Handler::addresses const ACE_INET_Addr   remote_address,
const ACE_INET_Addr   local_address
[virtual]
 

Called by ACE_Asynch_Acceptor to pass the addresses of the new connections.

Definition at line 1201 of file Asynch_IO.cpp.

01203 {
01204 }

void ACE_Service_Handler::open ACE_HANDLE    new_handle,
ACE_Message_Block   message_block
[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.

Definition at line 1212 of file Asynch_IO.cpp.

01214 {
01215 }


Friends And Related Function Documentation

friend class ACE_Asynch_Acceptor< ACE_Service_Handler > [friend]
 

The Acceptor is the factory and therefore should have special privileges.

Definition at line 1575 of file Asynch_IO.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:55:54 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002