Proactor

Proactor

Proactor ist ein Entwurfsmuster aus dem Bereich der Softwareentwicklung zur Ereignisverarbeitung (Event Handling Pattern), das Nebenläufigkeit nutzt und deren Nachteile vermeidet.

Hierbei werden lang laufende Aktionen in einem asynchronen Teil bearbeitet und am Ende des asynchronen Teils wird ein Completion Handler aufgerufen.

Interaktionen

Proactor Interaktion als UML Sequenzdiagramm

Operationsspezifischer Akteure:

  • Der Proactive Initiator startet die asynchrone Operation am Asynchronen Operation Prozessor und legt auch den Completion Handler fest
  • Der Completion Handler wird am Ende der Operation durch den Asynchronen Operation Prozessor aufgerufen
  • Asynchrone Operation

Standardisierter Akteure des Proactor Patterns

  • Der Asynchrone Operation Prozessor koordiniert die gesamte asynchrone Operation
  • Der Completion Dispatcher wickelt, abhängig von der Ablaufumgebung, den Aufruf des Completion Handlers ab

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем написать курсовую

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Asynchronous I/O — Asynchronous I/O, or non blocking I/O, is a form of input/output processing that permits other processing to continue before the transmission has finished. Input and output (I/O) operations on a computer can be extremely slow compared to the… …   Wikipedia

  • ADAPTIVE Communication Environment — Das Adaptive Communication Framework ist ein Open Source C++ Framework, das plattformunabhängig einige Entwurfsmuster für nebenläufige Netzwerkapplikationen bereitstellt.[1] Inhaltsverzeichnis 1 Geschichte 2 OS Adapter Layer 3 …   Deutsch Wikipedia

  • Adaptive Communication Environment — L ACE (Adaptive Communication Environment, ou environnement de communication adaptatif) est un environnement de programmation orientée objet, il est open source et est écrit en C++. ACE contient plusieurs composants qui simplifient le… …   Wikipédia en Français

  • proactive — adjective Acting in advance to deal with an expected change or difficulty We can deal with each problem as it pops up, or we can take a proactive stance and try to prevent future problems. Syn: anticipatory, forward looking Ant: reactive …   Wiktionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”