Package org.yamcs.cmdhistory
Class StreamCommandHistoryPublisher
java.lang.Object
org.yamcs.cmdhistory.StreamCommandHistoryPublisher
- All Implemented Interfaces:
CommandHistoryPublisher
Injects the command history updates in the command history stream
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.yamcs.cmdhistory.CommandHistoryPublisher
CommandHistoryPublisher.AckStatus
-
Field Summary
Fields inherited from interface org.yamcs.cmdhistory.CommandHistoryPublisher
AcknowledgeQueued_KEY, AcknowledgeReleased_KEY, AcknowledgeSent_KEY, CcsdsSeq_KEY, CommandComplete_KEY, Queue_KEY, SUFFIX_MESSAGE, SUFFIX_RETURN, SUFFIX_STATUS, SUFFIX_TIME, TransmissionConstraints_KEY, Verifier_KEY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 instant) void
publish
(Commanding.CommandId cmdId, String key, String value) void
publish
(Commanding.CommandId cmdId, String key, DataType dt, Object value) void
publishAck
(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message, ParameterValue resultPv) Publish an acknowledgement status to the command history.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.cmdhistory.CommandHistoryPublisher
commandFailed, publish, publishAck, publishAck
-
Field Details
-
REALTIME_CMDHIST_STREAM_NAME
- See Also:
-
DUMP_CMDHIST_STREAM_NAME
- See Also:
-
-
Constructor Details
-
StreamCommandHistoryPublisher
-
-
Method Details
-
publish
- Specified by:
publish
in interfaceCommandHistoryPublisher
-
publish
- Specified by:
publish
in interfaceCommandHistoryPublisher
-
publish
- Specified by:
publish
in interfaceCommandHistoryPublisher
-
publish
- Specified by:
publish
in interfaceCommandHistoryPublisher
-
publish
-
publishAck
public void publishAck(Commanding.CommandId cmdId, String key, long time, CommandHistoryPublisher.AckStatus state, String message, ParameterValue resultPv) Description copied from interface:CommandHistoryPublisher
Publish an acknowledgement status to the command history.Entries (corresponding to command history columns) are created:
- key_Time
- key_Status
- key_Message
- key_Return
- Specified by:
publishAck
in interfaceCommandHistoryPublisher
-
addCommand
- Specified by:
addCommand
in interfaceCommandHistoryPublisher
-
getInstance
-
getStream
-