- java.lang.Object
-
- org.praxislive.base.AbstractRoot
-
- org.praxislive.script.impl.ScriptServiceImpl
-
- All Implemented Interfaces:
Lookup.Provider
,Root
,RootHub.ServiceProvider
public class ScriptServiceImpl extends AbstractRoot implements RootHub.ServiceProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.praxislive.base.AbstractRoot
AbstractRoot.Controller, AbstractRoot.Delegate, AbstractRoot.DelegateConfiguration, AbstractRoot.State
-
Nested classes/interfaces inherited from interface org.praxislive.core.Root
Root.Controller
-
-
Constructor Summary
Constructors Constructor Description ScriptServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processCall(Call call, PacketRouter router)
Method called to handle every receivedCall
.List<Class<? extends Service>>
services()
A list of the services this extension provides.-
Methods inherited from class org.praxislive.base.AbstractRoot
activating, attachDelegate, createContext, createController, createRouter, delegateConfig, detachDelegate, findService, getAddress, getExecutionContext, getLookup, getRootHub, getRouter, getState, initialize, interrupt, invokeLater, setIdle, setRunning, starting, stopping, terminating, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.praxislive.core.Lookup.Provider
getLookup
-
Methods inherited from interface org.praxislive.core.Root
initialize
-
-
-
-
Method Detail
-
services
public List<Class<? extends Service>> services()
Description copied from interface:RootHub.ServiceProvider
A list of the services this extension provides. This method will be called as the extension Root is installed in the RootHub.- Specified by:
services
in interfaceRootHub.ServiceProvider
- Returns:
- list of services
-
processCall
protected void processCall(Call call, PacketRouter router)
Description copied from class:AbstractRoot
Method called to handle every receivedCall
. The provided router should be used for all ongoing or return calls.- Specified by:
processCall
in classAbstractRoot
-
-