| Interface | Description |
|---|---|
| Command<T extends CommandResponse> |
Command interface represents a command the client can execute. |
| CommandHandler<CommandT extends Command<CommandResponseT>,CommandResponseT extends CommandResponse> |
CommandHandler interface defines methods which allow its implementations to do the actual
work of processing a concrete type of Command implementation and produce a response that
is a concerete implementation of CommandResponse. |
| CommandHandlerRegistry |
CommandHandlerRegistry interface defines methods for adding, removing, and retrieving
CommandHandlers based on the type of the Command. |
| CommandResponse |
CommandResponse interface represents the response returned from executing a
Command. |
| Class | Description |
|---|---|
| DefaultCommandHandlerRegistry |
DefaultCommandHandlerRegistry class is the default implementation of the
CommandHandlerRegistry interface. |
Copyright © 2018. All rights reserved.