Proactor
Proactor is a design pattern from the field of software development for event processing (Event Handling Pattern) that uses concurrency and avoids its disadvantages.
Long-running actions are processed in an asynchronous part and a completion handler is called at the end of the asynchronous part .
Interactions
Operation-specific actors:
- The Proactive Initiator starts the asynchronous operation on the Asynchronous Operation Processor and also defines the Completion Handler
- The completion handler is called at the end of the operation by the asynchronous operation processor
- Asynchronous operation
Standardized actors of the proactor pattern
- The Asynchronous Operation Processor coordinates the entire asynchronous operation
- The Completion Dispatcher handles, depending on the execution environment, calling the completion handler from
Web links
- Proactor -An Object Behavioral Pattern for Demultiplexing and Dispatching Handlers for Asynchronous Events , Irfan Pyarali, Tim Harrison, Douglas C. Schmidt, Thomas D. Jordan, 1997 (English; PDF; 143 kB)