Package org.yamcs.cmdhistory
Interface CommandHistoryConsumer
-
- All Known Implementing Classes:
CommandHistoryResource
,CommandVerificationHandler
public interface CommandHistoryConsumer
Interface implemented by all the classes that want to receive command history events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addedCommand(PreparedCommand pc)
Called when a new command matching the filters has been added to the historyvoid
updatedCommand(org.yamcs.protobuf.Commanding.CommandId cmdId, long changeDate, String key, Value value)
Called when the history of a command matching the filters has been updateddefault void
updatedCommand(org.yamcs.protobuf.Commanding.CommandId cmdId, long changeDate, List<Attribute> attrs)
-
-
-
Method Detail
-
addedCommand
void addedCommand(PreparedCommand pc)
Called when a new command matching the filters has been added to the history- Parameters:
pc
-
-
updatedCommand
void updatedCommand(org.yamcs.protobuf.Commanding.CommandId cmdId, long changeDate, String key, Value value)
Called when the history of a command matching the filters has been updated
-
-