I
- Type of the command's identity.D
- Type of the command's data.C
- Type of the command's data execution coding format.public class ReadCommand<I,D,C> extends Command<I>
Constructor and Description |
---|
ReadCommand(I identity,
Decoder<D,C> decoder)
Creates a new read command.
|
public ReadCommand(I identity, Decoder<D,C> decoder) throws NullPointerException
identity
- Command's identity.decoder
- Command decoder used to map from modeled data to command
execution format.NullPointerException
- If either identity or decoder is null.Copyright © 2015. All Rights Reserved.