T - The template for the embedded object.public final class CommandNack<T extends Serializable> extends CommandReply<T>
| Constructor and Description |
|---|
CommandNack(CommandRequest command,
T reason)
CommandNacks are built from the corresponding CommandRequest and the
reason for which the command will not be carried out.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason()
The reason for the refusal.
|
encodeObject, getEncodedData, getReplygetCorrelationId, getCorrelId, getDestinationgetClassName, getObject, getOriginAgentInfo, getSerializedObject, getTimeStamp, setOriginAgentInfo, toStringpublic CommandNack(CommandRequest command, T reason)
command - The CommandRequest that originated the nack.reason - The reason the command will not be carried out.public String getReason()
Copyright © 2015 LSST. All rights reserved.