command
-
CommandModeling/DesignPattern 2020. 2. 29. 16:29
1. Overview We want to represent a request or a method call as an object. Information about parameters passed and the actual operation is encapsulated in an object called command. The advantage of a command pattern is that what would have been a method call is now an object which can be stored for later execution or sent to other parts of code. We can now even queue our command objects and execu..