object Server extends ServerPlatform

Linear Supertypes
ServerPlatform, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Server
  2. ServerPlatform
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Address = InetSocketAddress
    Definition Classes
    ServerPlatform
  2. sealed trait Condition extends Update
  3. final class Config extends ConfigLike

  4. final class ConfigBuilder extends ConfigLike

  5. trait ConfigLike extends AnyRef

    The base trait for Config and ConfigBuilder describes the settings used to boot scsynth in realtime or non-realtime mode, as well as its server address and port.

    The base trait for Config and ConfigBuilder describes the settings used to boot scsynth in realtime or non-realtime mode, as well as its server address and port.

    You obtain a ConfigBuilder by calling Server.Config(). This builder can then be mutated and will be implicitly converted to an immutable Config when required.

    See ConfigBuilder for its default values.

    See also

    de.sciss.synth.Server.ConfigBuilder

    de.sciss.synth.Server.Config

  6. final case class Counts(c: StatusReply) extends Update with Product with Serializable
  7. type Listener = PartialFunction[Update, Unit]
  8. sealed trait Update extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allocPort(transport: Transport): Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def boot(name: String = "localhost", config: Config = Config().build, clientConfig: Client.Config = Client.Config().build)(listener: ServerConnection.Listener = PartialFunction.empty): ServerConnection
  7. def boot: ServerConnection
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def connect(name: String = "localhost", config: Config = Config().build, clientConfig: Client.Config = Client.Config().build)(listener: ServerConnection.Listener = PartialFunction.empty): ServerConnection
  10. def connect: ServerConnection
  11. def default: Server
  12. implicit def defaultGroup(s: Server): Group
  13. def defaultProgram: String

    The default file path to scsynth.

    The default file path to scsynth. If the runtime (system) property "SC_HOME" is provided, this specifies the directory of scsynth. Otherwise, an environment (shell) variable named "SC_HOME" is checked. If neither exists, this returns scsynth in the current working directory.

    Definition Classes
    ServerPlatform
  14. def dummy(name: String = "dummy", config: Config = Config().build, clientConfig: Client.Config = Client.Config().build): Server

    Creates an unconnected server proxy.

    Creates an unconnected server proxy. This may be useful for creating NRT command files. Any attempt to try to send messages to the server will fail.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isLocal(addr: Address): Boolean
    Definition Classes
    ServerPlatform
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def prepareConnection(serverConfig: Config, clientConfig: Client.Config): (Address, osc.Client)
    Attributes
    protected
    Definition Classes
    ServerPlatform
  25. def printError(name: String, t: Throwable): Unit
  26. def renderNRT(dur: Double, config: Config): Processor[Int] with Prepared

    Starts an NRT rendering process based on the NRT parameters of the configuration argument.

    Starts an NRT rendering process based on the NRT parameters of the configuration argument.

    Note: The returned process must be explicitly started by calling start()

    dur

    the duration of the bounce, used to emit process updates

    config

    the server configuration in which nrtCommandPath must be set

    returns

    the process whose return value is the process exit code of scsynth (0 indicating success)

  27. def run(config: Config = Config().build)(code: (Server) => Unit): Unit

    Utility method to test code quickly with a running server.

    Utility method to test code quickly with a running server. This boots a server and executes the passed in code when the server is up. A shutdown hook is registered to make sure the server is destroyed when the VM exits.

  28. def run(code: (Server) => Unit): Unit
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def version(config: Config = Config().build): Try[(String, String)]
  32. def version: Try[(String, String)]
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object Config
  37. object ConfigBuilder
  38. case object Offline extends Condition with Product with Serializable
  39. case object Running extends Condition with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ServerPlatform

Inherited from AnyRef

Inherited from Any

Ungrouped