class SCSCPServer extends AnyRef

A (single threaded) implementation of the SCSCP protocol, version 1.3

This is not technically conform to the standard, as we do not implement all the method outlined in the specification.

Source
SCSCPServer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SCSCPServer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SCSCPServer(service_name: String, service_version: String, service_identifier: String, socket: ServerSocket, encoding: String = "UTF-8")

    service_name

    The name of the service offered offered by this server

    service_version

    The version of the service offered by this server

    service_identifier

    The identifier of the service offered by this server.

    socket

    Socket to use for incoming connections

    encoding

    Encoding to use for incoming connections

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 clients: List[SCSCPServerClient]

    a list of clients connected to this server

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def event(event: SCSCPServerEvent): Unit

    handles a log event

    handles a log event

    Attributes
    protected[Server]
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getHandler(symbol: OMSymbol): SCSCPHandler

    Gets the handler for a given symbol

  13. def getHandlerNames: List[OMSymbol]

    gets the names of the registered handler

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hostname: String

    the hostname this server is bound to

  16. def info(message: String): Unit

    Sends an info message to all clients attached to this server

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def port: Int

    the port this server is bound to

  22. def process(): Unit

    Represents one iteration of processing.

    Represents one iteration of processing. Never blocks.

  23. def processForever(): Unit

    Processes forever until

  24. def quit(reason: Option[String]): Unit

    Quits all clients attached to this server

  25. def register(symbol: OMSymbol, handler: SCSCPHandler): Unit

    Registers a handler for a specific function call

    Registers a handler for a specific function call

    symbol

    Symbol to handle

    handler

    Handler to register

  26. val service_identifier: String
  27. val service_name: String
  28. val service_version: String
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unregister(symbol: OMSymbol): Unit

    Unregisters a handler for a symbol

    Unregisters a handler for a symbol

    symbol

    Symbol to unregister

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped