Reference

ACE_Asynch_Accept_Impl(3)

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Accept.

NAME

ACE_Asynch_Accept_Impl -

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Accept.

SYNOPSIS

class ACE_Asynch_Accept_Impl : 
  public virtual ACE_Asynch_Operation_Impl
{
  public:
    virtual ~ACE_Asynch_Accept_Impl (void);
    virtual int accept (
        ACE_Message_Block &message_block,
        u_long bytes_to_read,
        ACE_HANDLE accept_handle,
        const void *act,
        int priority,
        int signal_number
        ) = 0;
  protected:
    ACE_Asynch_Accept_Impl (void);
};

DESCRIPTION

This class contains asbtract base classes for all the concrete implementation classes for the various asynchronous operations that are used with the Praoctor.

PUBLIC MEMBERS

virtual ~ACE_Asynch_Accept_Impl (void);

virtual int accept (
    ACE_Message_Block &message_block,
    u_long bytes_to_read,
    ACE_HANDLE accept_handle,
    const void *act,
    int priority,
    int signal_number
    ) = 0;

This starts off an asynchronous accept. The asynchronous accept call also allows any initial data to be returned to the handler. Upto bytes_to_read will be read and stored in the message_block. The accept_handle will be used for the accept call. If (accept_handle == INVALID_HANDLE), a new handle will be created.

message_block must be specified. This is because the address of the new connection is placed at the end of this buffer.

PROTECTED MEMBERS

ACE_Asynch_Accept_Impl (void);

Do-nothing constructor.

AUTHOR

Irfan Pyarali ([email protected]), Tim Harrison ([email protected]) and Alexander Babu Arulanthu [email protected]

LIBRARY

ace