T - The template for the embedded object.public final class CommandNack<T extends Serializable> extends CommandReply<T>
obj| 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, getDestinationgetCCSTimeStamp, getClassName, getDeserializationDuration, getDoneDeSerializationTime, getIncomingQueueInTimeStamp, getIncomingQueueOutTimeStamp, getObject, getOriginAgentInfo, getOutgoingQueueInTimeStamp, getOutgoingQueueOutTimeStamp, getSerializationDuration, getSerializationTime, getTransferDuration, setIncomingQueueInTimeStamp, setIncomingQueueOutTimeStamp, setOriginAgentInfo, setOutgoingQueueInTimeStamp, setOutgoingQueueOutTimeStamp, toString, updateTimingInformationpublic 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 © 2022 LSST. All rights reserved.