High Level Asynchronous Service Handling
Introduction to active objects and the active scheduler
This document provides a short introduction to active objects and active schedulers.
Active objects
This document describes the functionality and class membership of active objects.
Active Scheduler
This document describes how active objects are queued using active schedulers.
How to construct an active object
This document describes how to construct an active object to encapsulate a service provider.
How to issue requests
This document describes how an active object issues a request for a service.
How to complete requests
This document describes how to complete a request for a service.
How to handle completed requests
This document describes how an active scheduler handles a completed request.
How to cancel requests
This document describes how to cancel a previously scheduled request.
How to start active objects
This document describes how to start active objects.
How to renew a request from the active scheduler
This document describes how to maintain an outstanding request from an active scheduler.
How to use multiple active objects
This document illustrates how to use one active object to control another.
Long-running services and background objects
This document describes the use of background objects to respond to requests for long-running services.
Non pre-emptive servicing
This document describes how requests to active objects are serviced non pre-emptively.
Simple encapsulation of a service provider
This document describes how to use derived active object classes to encapsulate services.
Life cycle of active objects
This document describes the life cycle of an active objet.
Using CActive
This document describes the use of the
CActive
class to implement asynchronous services and requests.
Using CAsyncOneShot
This document descrbes the use of the
CAsyncOneShot
class in scheduling.
Using CIdle
This document describes how to use the CIdle class to implement long running background tasks.
Using TCallBack
This document describes the TCallBack class.
Using TRequestStatus
This document describes the use of TRequestStatus objects to hold the completion status of an asynchronous request.
Parent topic:
Using Asynchronous Programming