Active object

Active object

The Active Object design pattern decouples method execution from method invocation that reside in their own thread of control. [cite book
first = Schmidt
last = D
coauthors = M., Rohnert, H., Buschmann, F.
year = 2000
title = Pattern-Oriented Software Architecture, Volume 2: Patterns for Concurrent and Networked Objects
publisher = John Wiley & Sons
id = ISBN 0-471-60695-2
] The goal is to introduce concurrency, by using asynchronous method invocation and a scheduler for handling requests. [Bass, L., Clements, P., Kazman, R. "Software Architecture in Practice". Addison Wesley, 2003]

The pattern consists of six elements [cite web
title = Active Object
first = R. Greg
last = Lavender
coauthors = Schmidt, Douglas C.
format = PDF
url = http://www.cs.wustl.edu/~schmidt/PDF/Act-Obj.pdf
accessdate=2007-02-02
] :
* a proxy, which provides an interface towards clients with publicly accessible methods
* an interface which defines the method request on an active object
* a list of pending requests from clients
* a scheduler, which decides which request to execute next
* the implementation of the active object method.
* a callback or variable for the client to receive the result.

ee Also

* Actor model

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Active Object — Активный объект (active object)  это шаблон проектирования, который отделяет поток выполения метода от потока, в котором он был вызван.[1] Целью данного шаблона является предоставление параллельности выполнения используя асинхронные вызовы… …   Википедия

  • Active Oberon — Класс языка: императивный, структурированный, модульный Появился в: 2000 Автор(ы): Patrik Reali, B. Meyer, Brinch Hansen, Pieter Muller, Jurg Gutknecht (Юрг Гуткн …   Википедия

  • Active objects — are a form of multitasking for computer systems. Specifically, they are a form of cooperative multitasking. They are an important feature of Symbian OS.In the scheme, objects may make requests of asynchronous services (e.g. sending an SMS… …   Wikipedia

  • Active Oberon — Paradigmen: imperativ, strukturiert, objektorientiert Entwickler: Niklaus Wirth, Jürg Gutknecht Einflüsse: Oberon Beeinflusste …   Deutsch Wikipedia

  • Active Directory — (AD) is a directory service created by Microsoft for Windows domain networks. It is included in most Windows Server operating systems. Server computers on which Active Directory is running are called domain controllers. Active Directory serves as …   Wikipedia

  • Object Linking and Embedding — (OLE) is a technology developed by Microsoft that allows embedding and linking to documents and other objects. For developers, it brought OLE Control eXtension (OCX), a way to develop and use custom user interface elements. On a technical level,… …   Wikipedia

  • Active Worlds — Developer(s) Active Worlds, Inc. Publisher(s) …   Wikipedia

  • Object Manager (Windows) — Object Manager in Windows, categorized hierarchically using namespaces Object Manager (internally called Ob) is a subsystem implemented as part of the Windows Executive which manages Windows resources. Each resource, which are surfaced as logical …   Wikipedia

  • Object 187 — Type Main battle tank Place of origin  Soviet Union …   Wikipedia

  • Object 279 — Object 279, Kubinka tank museum (2008) Type Heavy tank Place of origin …   Wikipedia

Share the article and excerpts

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