Package org.yamcs.commanding
Interface CommandReleaser
-
- All Superinterfaces:
ProcessorService
,com.google.common.util.concurrent.Service
- All Known Implementing Classes:
StreamTcCommandReleaser
public interface CommandReleaser extends ProcessorService
This is responsible for "releasing" a prepared command. We do this because the prepared command will not have all the necessary attributes such as sequence count and checksum Those need to be computed separately anyway because the command goes into a queue and when it's released the sequence number has to be incremented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
releaseCommand(PreparedCommand preparedCommand)
release a command.void
setCommandHistory(CommandHistoryPublisher commandHistory)
the command releaser has to add the command to the history when it is released.-
Methods inherited from interface org.yamcs.ProcessorService
getSpec, init
-
-
-
-
Method Detail
-
releaseCommand
void releaseCommand(PreparedCommand preparedCommand)
release a command.- Parameters:
preparedCommand
-
-
setCommandHistory
void setCommandHistory(CommandHistoryPublisher commandHistory)
the command releaser has to add the command to the history when it is released.- Parameters:
commandHistory
-
-
-