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 TypeMethodDescriptionvoidregister(CommandBase<T> command) Registers a commandvoidunregister(CommandBase<T> command) Unregisters a command
-
Method Details
-
register
Registers a command- Parameters:
command- The command
-
unregister
Unregisters a command- Parameters:
command- The command
-