---
name: "ACE_Asynch_Accept_Impl"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Asynch_Accept_Impl"
---

# 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 (irfan@cs.wustl.edu), Tim Harrison (harrison@cs.wustl.edu) and Alexander Babu Arulanthu alex@cs.wustl.edu

## LIBRARY

ace
