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.
|
Modifier and Type | Method and Description |
---|---|
D |
get()
Gets the command execution result.
|
protected Decoder<D,C> |
getDecoder()
Gets the command decoder.
|
equals, getIdentity, hashCode, toString
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 © 2016. All Rights Reserved.