Class AbstractRoot.Controller

  • All Implemented Interfaces:
    org.praxislive.core.Root.Controller
    Enclosing class:
    AbstractRoot

    protected class AbstractRoot.Controller
    extends Object
    implements org.praxislive.core.Root.Controller
    Implementation of Root.Controller.
    • Constructor Detail

      • Controller

        protected Controller()
    • Method Detail

      • submitPacket

        public boolean submitPacket​(org.praxislive.core.Packet packet)
        Specified by:
        submitPacket in interface org.praxislive.core.Root.Controller
      • start

        public void start​(ThreadFactory threadFactory)
        Specified by:
        start in interface org.praxislive.core.Root.Controller
      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface org.praxislive.core.Root.Controller
      • onQueueReceipt

        protected void onQueueReceipt()
        Called on receipt of a Packet (Call) or a Runnable task. The default implementation will call AbstractRoot.Delegate.onQueueReceipt() if a delegate is attached, or otherwise trigger an asynchronous poll of the queue.