Active Object

Learn about the active object design pattern.

Introduction

According to the active object pattern, the method execution should be separate from the method call. It is called an active object because, according to this pattern, every object owns its thread. Each method invocation is not performed instantly. Instead, it is stored in an activation list. A scheduler will decide which method to execute from the list.

Structure

The active object design pattern has the following components.

Proxy

There is a Proxy for the member functions in the active object. It triggers the ...