Packages

trait Server extends ServerLike with Model[Update]

The client-side representation of the SuperCollider server.

Additional operations are available by importing Ops._.

Self Type
Server
Linear Supertypes
Model[Update], ServerLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Server
  2. Model
  3. ServerLike
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def !(p: Packet): Unit

    Sends out an OSC packet without waiting for any replies.

  2. abstract def !![A](packet: Packet, timeout: Duration = 6.seconds)(handler: PartialFunction[Message, A]): Future[A]

    Sends out an OSC packet that generates some kind of reply, and returns immediately.

    Sends out an OSC packet that generates some kind of reply, and returns immediately. It registers a handler to parse that reply. The handler is tested for each incoming OSC message (using its isDefinedAt method) and invoked and removed in case of a match, completing the returned future.

    If the handler does not match in the given timeout period, the future fails with a Timeout exception, and the handler is removed.

    packet

    the packet to send out

    timeout

    the timeout duration

    handler

    the handler to match against incoming messages

    returns

    a future of the successfully completed handler or timeout exception

    See also

    de.sciss.synth.message.Timeout

  3. abstract def addListener(pf: Listener[Update]): pf.type
    Definition Classes
    Model
  4. abstract def addr: Server.Address
    Definition Classes
    ServerLike
  5. abstract def allocAudioBus(numChannels: Int): Int
  6. abstract def allocBuffer(numChannels: Int): Int
  7. abstract def allocControlBus(numChannels: Int): Int
  8. abstract def bufManager: BufferManager
  9. abstract val clientConfig: Config
  10. abstract def condition: Condition
  11. abstract def config: Config
    Definition Classes
    ServerLike
  12. abstract def counts: StatusReply

    The last reported server data, such as number of synths and groups, sample rate.

  13. abstract def defaultGroup: Group
  14. abstract def dispose(): Unit

    Disconnects the client, and frees any resources on the client-side.

  15. abstract def dumpInOSC(mode: Dump = osc.Dump.Text, filter: (Packet) => Boolean = _ => true): Unit
  16. abstract def dumpOSC(mode: Dump = osc.Dump.Text, filter: (Packet) => Boolean = _ => true): Unit
  17. abstract def dumpOutOSC(mode: Dump = osc.Dump.Text, filter: (Packet) => Boolean = _ => true): Unit
  18. abstract def freeAudioBus(index: Int): Unit
  19. abstract def freeBuffer(index: Int): Unit
  20. abstract def freeControlBus(index: Int): Unit
  21. abstract def isConnected: Boolean
  22. abstract def isLocal: Boolean
  23. abstract def isOffline: Boolean
  24. abstract def isRunning: Boolean
  25. abstract def name: String
    Definition Classes
    ServerLike
  26. abstract def nextNodeId(): Int
  27. abstract def nextSyncId(): Int
  28. abstract def nodeManager: NodeManager
  29. abstract def queryCounts(): Unit

    Shortcut to this ! message.Status.

    Shortcut to this ! message.Status. If the 'alive thread' is running, it will take care of querying the counts frequently.

  30. abstract def quit(): Unit

    Sends a quitMsg and then invokes dispose().

  31. abstract def quitMsg: ServerQuit.type
  32. abstract def removeListener(pf: Listener[Update]): Unit
    Definition Classes
    Model
  33. abstract def rootNode: Group
  34. abstract def sampleRate: Double

    Shortcut to counts.sampleRate.

  35. abstract def startAliveThread(delay: Float = 0.25f, period: Float = 0.25f, deathBounces: Int = 25): Unit

    Starts a repeatedly running status watcher that updates the condition and counts information.

  36. abstract def stopAliveThread(): Unit
  37. abstract def syncMsg(): Sync

    Allocates a new unique synchronization identifier, and returns the corresponding /sync message.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    Server → AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Model[Update]

Inherited from ServerLike

Inherited from AnyRef

Inherited from Any

Ungrouped