object Server
- Alphabetic
- By Inheritance
- Server
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait Condition extends Update
- final class Config extends ConfigLike
- final class ConfigBuilder extends ConfigLike
-
trait
ConfigLike extends AnyRef
The base trait for
ConfigandConfigBuilderdescribes the settings used to boot scsynth in realtime or non-realtime mode, as well as its server address and port.The base trait for
ConfigandConfigBuilderdescribes the settings used to boot scsynth in realtime or non-realtime mode, as well as its server address and port.You obtain a
ConfigBuilderby callingServer.Config(). This builder can then be mutated and will be implicitly converted to an immutableConfigwhen required.See
ConfigBuilderfor its default values. - final case class Counts(c: StatusReply) extends Update with Product with Serializable
- type Listener = PartialFunction[Update, Unit]
- sealed trait Update extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allocPort(transport: Transport): Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def boot(name: String = "localhost", config: Config = Config().build, clientConfig: Client.Config = Client.Config().build)(listener: ServerConnection.Listener = PartialFunction.empty): ServerConnection
- def boot: ServerConnection
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def connect(name: String = "localhost", config: Config = Config().build, clientConfig: Client.Config = Client.Config().build)(listener: ServerConnection.Listener = PartialFunction.empty): ServerConnection
- def connect: ServerConnection
- def default: Server
- implicit def defaultGroup(s: Server): Group
-
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 ofscsynth. Otherwise, an environment (shell) variable named"SC_HOME"is checked. If neither exists, this returnsscsynthin the current working directory. -
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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def printError(name: String, t: Throwable): Unit
-
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
nrtCommandPathmust be set- returns
the process whose return value is the process exit code of scsynth (0 indicating success)
-
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.
- def run(code: (Server) ⇒ Unit): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def version(config: Config = Config().build): Try[(String, String)]
- def version: Try[(String, String)]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object Config
- object ConfigBuilder
- object Offline extends Condition with Product with Serializable
- object Running extends Condition with Product with Serializable