- java.lang.Object
-
- org.praxislive.base.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 Summary
Constructors Modifier Constructor Description protectedController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonQueueReceipt()Called on receipt of aPacket(Call) or a Runnable task.voidshutdown()voidstart(ThreadFactory threadFactory)booleansubmitPacket(org.praxislive.core.Packet packet)
-
-
-
Method Detail
-
submitPacket
public boolean submitPacket(org.praxislive.core.Packet packet)
- Specified by:
submitPacketin interfaceorg.praxislive.core.Root.Controller
-
start
public void start(ThreadFactory threadFactory)
- Specified by:
startin interfaceorg.praxislive.core.Root.Controller
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceorg.praxislive.core.Root.Controller
-
onQueueReceipt
protected void onQueueReceipt()
Called on receipt of aPacket(Call) or a Runnable task. The default implementation will callAbstractRoot.Delegate.onQueueReceipt()if a delegate is attached, or otherwise trigger an asynchronous poll of the queue.
-
-