Command Design pattern

Hi everyone,

in one of previous my posts, I illustrated the using of command design pattern (command query reponsibility separation with command processor) via this post I will exemine this pattern as simpler.


– encapsulate a request in an object
– allows the parameterization of clients with different requests
– allows saving the requests in a queue

Composition design pattern’s uml diagram


implementation to command design pattern

Class Diagram


see you next post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.