Class DeckWorker

java.lang.Object
de.rcblum.stream.deck.device.worker.DeckWorker
All Implemented Interfaces:
Runnable

public class DeckWorker extends Object implements Runnable
Dispatches all commands asynchronously queued up in StreamDeck.addToSendPool(DeckUpdater) to the ESD. Send rate is limited to 500 commands per second. If the execution of one command is completed in less tha on ms the thread is put to sleep for 1 ms. As long as one loop takes up less then 2 ms the rest of the time is actively wated
Author:
Roland von Werden
  • Constructor Details

    • DeckWorker

      public DeckWorker(StreamDeck streamDeck)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable