NAME

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

SYNOPSIS

#include <ace/Asynch_IO.h>

class ACE_Service_Handler : public ACE_Handler { public: friend class ACE_Asynch_Acceptor<ACE_Service_Handler>; ACE_Service_Handler (void); virtual ~ACE_Service_Handler (void); 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 ); };

DESCRIPTION

This only works on Win32 platforms.

The implementation of ACE_Asynch_Transmit_File and ACE_Asynch_Accept are only supported if ACE_HAS_WINSOCK2 is defined or you are on WinNT 4.0 or higher

PUBLIC MEMBERS

friend class ACE_Asynch_Acceptor<ACE_Service_Handler>;

ACE_Service_Handler (void);

virtual ~ACE_Service_Handler (void);

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
    );

AUTHOR

Irfan Pyarali (irfan@cs.wustl.edu) Tim Harrison (harrison@cs.wustl.edu)

LIBRARY

ace