Reactor Pattern

From Free net encyclopedia

Template:Cleanup-context A Reactor Pattern is a software behavioral design pattern which allows for the single-threaded demultiplexing of events. Also known as Dispatcher Pattern or Notifier Pattern. It is a composition of Observer pattern with Nonblocking I/O mechanisms.

A free open source implementation of this pattern and many other called ACE (ADAPTIVE Communication Environment) is available here: ACE -- ADAPTIVE Communication Environment

Participants

  • Handles
  • Synchronous Event Demultiplexer
  • Initiation Dispatcher
  • Event Handler
  • Concrete Event Handler

Reference

Reactor -- An Object Behavioral Pattern for Event Demultiplexing and Event Handler Dispatching (PDF)

See also


Template:Compu-soft-stub