T
- The type of an encoded command.public interface CommandCodec<T>
Command
objects to and from another representation.Modifier and Type | Method and Description |
---|---|
Command |
decode(T encodedCommand)
Decodes a command.
|
T |
encode(Command command)
Encodes a command.
|