previous |
start |
next
The COMMAND Pattern
Solution
- Define a command interface type with a method to execute the
command.
- Supply methods in the command interface type to manipulate the
state of command objects.
- Each concrete command class implements the command interface
type.
- To invoke the command, call the execute
method.
previous |
start |
next