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 command.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

    com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    release a command.
    void
    the command releaser has to add the command to the history when it is released.

    Methods inherited from interface org.yamcs.ProcessorService

    getSpec, init

    Methods inherited from interface com.google.common.util.concurrent.Service

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
  • Method Details

    • 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 -