Proactor pattern

Proactor is a software design pattern for event handling in which long running activities are running in an asynchronous part. A completion handler is called after the asynchronous part has terminated. The proactor pattern can be considered to be an asynchronous variant of the synchronous reactor pattern.

Interaction

UML Sequence diagram of Proactor

Operation specific actors:

Standardized actors

Implementations

See also

References

  1. ↑ Pyarali, Irfan; Harrison, Tim (September 1997). Proactor: An Object Behavioral Pattern for Demultiplexing and Dispatching Handlers for Asynchronous Events (PDF). 4th Annual Pattern Languages of Programming Conference. Allerton Park, Illinois.
  2. ↑ Pattern-Oriented Software Architecture, Volume 2, Schmidt et al., Jon Wiley & Sons, Ltd, 2000