Package redempt.ordinate.dispatch
Interface CommandRegistrar<T>
- Type Parameters:
T
- The sender type
public interface CommandRegistrar<T>
Represents a service for registering and unregistering commands
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(CommandBase<T> command) Registers a commandvoid
unregister
(CommandBase<T> command) Unregisters a command
-
Method Details
-
register
Registers a command- Parameters:
command
- The command
-
unregister
Unregisters a command- Parameters:
command
- The command
-