Command pattern is a behavioural design pattern. The way I understand command design pattern is the requestor of an action is decoupled from the executor of the requested action through a broker who acts as an intermediate in invoking the requestors action in the executor. The object that is sent to the executor has the relevant properties/attributes and details of the actions that need to be carried out.

No comments:
Post a Comment