- 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(org.yamcs.protobuf.Commanding.CommandId cmdId, long time, String reason) voidvoidvoidvoiddefault voidpublish(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, ParameterValue returnPv) default voidpublishAck(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state) default voidpublishAck(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message) default voidpublishAck(org.yamcs.protobuf.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
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
default void publish(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, ParameterValue returnPv) -
addCommand
-
publishAck
default void publishAck(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state) -
publishAck
default void publishAck(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message) -
publishAck
default void publishAck(org.yamcs.protobuf.Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message, ParameterValue returnPv) Publish an acknowledgement status to the command history.Three entries (corresponding to command history columns) are created:
- key_Time
- key_Status
- key_Message
-
commandFailed
-