Class CommandQueue


  • public class CommandQueue
    extends Object
    • Method Detail

      • getName

        public String getName()
      • getState

        public org.yamcs.protobuf.Commanding.QueueState getState()
      • getProcessor

        public Processor getProcessor()
      • getCommandCount

        public int getCommandCount()
      • remove

        public boolean remove​(PreparedCommand pc,
                              boolean isSent)
        remove the command from the queue and return true if it has been removed
        Parameters:
        pc -
        isSent - : true if the command has been sent, false if the command has been rejected
        Returns:
      • clear

        public void clear​(boolean areSent)
      • getNbRejectedCommands

        public int getNbRejectedCommands()
      • getStateExpirationRemainingS

        public int getStateExpirationRemainingS()
      • getNbSentCommands

        public int getNbSentCommands()