Class DefaultScriptService

java.lang.Object
org.praxislive.base.AbstractRoot
org.praxislive.script.DefaultScriptService
All Implemented Interfaces:
Lookup.Provider, Root, RootHub.ServiceProvider

public final class DefaultScriptService extends AbstractRoot implements RootHub.ServiceProvider
A default implementation of ScriptService.
  • Constructor Details

    • DefaultScriptService

      public DefaultScriptService()
  • Method Details

    • 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 interface RootHub.ServiceProvider
      Returns:
      list of services
    • processCall

      protected void processCall(Call call, PacketRouter router)
      Description copied from class: AbstractRoot
      Method called to handle every received Call. The provided router should be used for all ongoing or return calls.
      Specified by:
      processCall in class AbstractRoot
      Parameters:
      call -
      router -