atscppapi  1.0.9
C++ wrapper for Apache Traffic Server API
 All Classes Files Functions Enumerations Enumerator Macros
Public Member Functions | List of all members
atscppapi::AsyncReceiver< AsyncProviderType > Class Template Referenceabstract

AsyncReceiver is the interface that receivers of async operations must implement. It is templated on the type of the async operation provider. More...

#include "Async.h"

Inherits atscppapi::noncopyable.

Public Member Functions

virtual void handleAsyncComplete (AsyncProviderType &provider)=0
 

Detailed Description

template<typename AsyncProviderType>
class atscppapi::AsyncReceiver< AsyncProviderType >

AsyncReceiver is the interface that receivers of async operations must implement. It is templated on the type of the async operation provider.

Member Function Documentation

template<typename AsyncProviderType>
virtual void atscppapi::AsyncReceiver< AsyncProviderType >::handleAsyncComplete ( AsyncProviderType &  provider)
pure virtual

This method is invoked when the async operation is completed. The mutex provided during the creation of the async operation will be automatically locked during the invocation of this method.

Parameters
providerA reference to the provider which completed the async operation.

The documentation for this class was generated from the following file: