Package org.yamcs.cmdhistory
Interface CommandHistoryPublisher
- All Known Implementing Classes:
StreamCommandHistoryPublisher
public interface CommandHistoryPublisher
Used by the commanding applications to save commands and commands acknowledgements into a history.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumprovides acknowledgment status during execution of command -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringUsed by the links to add entries in the command history when the command has been sent via the link.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoiddefault voidcommandFailed(Commanding.CommandId cmdId, long time, String reason) voidpublish(Commanding.CommandId cmdId, String key, byte[] binary) voidpublish(Commanding.CommandId cmdId, String key, int value) voidpublish(Commanding.CommandId cmdId, String key, long value) voidpublish(Commanding.CommandId cmdId, String key, String value) default voidpublish(Commanding.CommandId cmdId, String key, ParameterValue returnPv) default voidpublishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state) default voidpublishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message) default voidpublishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message, ParameterValue returnPv) Publish an acknowledgement status to the command history.
-
Field Details
-
CommandComplete_KEY
- See Also:
-
TransmissionConstraints_KEY
- See Also:
-
AcknowledgeQueued_KEY
- See Also:
-
AcknowledgeReleased_KEY
- See Also:
-
AcknowledgeSent_KEY
Used by the links to add entries in the command history when the command has been sent via the link.- See Also:
-
Verifier_KEY_PREFIX
- See Also:
-
CcsdsSeq_KEY
- See Also:
-
Queue_KEY
- See Also:
-
SUFFIX_STATUS
- See Also:
-
SUFFIX_TIME
- See Also:
-
SUFFIX_MESSAGE
- See Also:
-
SUFFIX_RETURN
- See Also:
-
-
Method Details
-
publish
-
publish
-
publish
-
publish
-
publish
-
addCommand
-
publishAck
default void publishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state) -
publishAck
default void publishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message) -
publishAck
default void publishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message, ParameterValue returnPv) Publish an acknowledgement status to the command history.Entries (corresponding to command history columns) are created:
- key_Time
- key_Status
- key_Message
- key_Return
-
commandFailed
-