java.lang.Object
org.praxislive.base.AbstractRoot
org.praxislive.script.DefaultScriptService
- All Implemented Interfaces:
Lookup.Provider,Root,RootHub.ServiceProvider
A default implementation of
ScriptService.-
Nested Class Summary
Nested classes/interfaces inherited from class org.praxislive.base.AbstractRoot
AbstractRoot.Controller, AbstractRoot.Delegate, AbstractRoot.DelegateConfiguration, AbstractRoot.StateNested classes/interfaces inherited from interface org.praxislive.core.Root
Root.Controller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessCall(Call call, PacketRouter router) Method called to handle every receivedCall.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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.core.Lookup.Provider
getLookupMethods inherited from interface org.praxislive.core.Root
initialize
-
Constructor Details
-
DefaultScriptService
public DefaultScriptService()
-
-
Method Details
-
services
Description copied from interface:RootHub.ServiceProviderA list of the services this extension provides. This method will be called as the extension Root is installed in the RootHub.- Specified by:
servicesin interfaceRootHub.ServiceProvider- Returns:
- list of services
-
processCall
Description copied from class:AbstractRootMethod called to handle every receivedCall. The provided router should be used for all ongoing or return calls.- Specified by:
processCallin classAbstractRoot- Parameters:
call-router-
-