Command
Purpose | Encapsulate a request as an object. Enables polymorphic
client processing
of different requests. Fits naturally into [priority] queue processing,
typical
of transaction servers (e.g., file servers, web servers). Results in a
simple,
general interface that is unaffected by new commands/transactions. |
Structure | |
Consequences |
|
Implementation |
|
Sample Code | |
Related Patterns |