SE450: The COMMAND Pattern [16/55] Previous pageContentsNext page


  1. Define a command interface type with a method to execute the command.
  2. Supply methods in the command interface type to manipulate the state of command objects.
  3. Each concrete command class implements the command interface type.
  4. To invoke the command, call the execute method.

Previous pageContentsNext page