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
Modifier and TypeInterfaceDescriptionstatic enum
provides acknowledgment status during execution of command -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
Used by the links to add entries in the command history when the command has been sent via the link.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default void
commandFailed
(Commanding.CommandId cmdId, long time, String reason) void
publish
(Commanding.CommandId cmdId, String key, byte[] binary) void
publish
(Commanding.CommandId cmdId, String key, int value) void
publish
(Commanding.CommandId cmdId, String key, long value) void
publish
(Commanding.CommandId cmdId, String key, String value) default void
publish
(Commanding.CommandId cmdId, String key, ParameterValue returnPv) default void
publishAck
(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state) default void
publishAck
(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message) 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.
-
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
-