c

info.kwarc.mmt.odk.SCSCP.Server

SCSCPServerClient

class SCSCPServerClient extends AnyRef

Represents a single client connected to the server

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

Instance Constructors

  1. new SCSCPServerClient(socket: Socket, server: SCSCPServer, encoding: String = "UTF-8")

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( ... ) @native()
  6. def connected: Boolean

    Checks if this SCSCPClient is still connected to the server

  7. val encoding: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def event(event: SCSCPServerEvent): Unit

    logs a debug message

    logs a debug message

    Attributes
    protected
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val identifier: String

    An identifier for this client, which is unique within the server

  15. def info(message: String): Unit

    Sends an info message to the client

    Sends an info message to the client

    message

    Message to send

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def onInfo(message: String): Unit

    Protected function that gets called on information messages

    Protected function that gets called on information messages

    message

    Info message that was sent by the server

    Attributes
    protected
  21. def onQuit(reason: Option[String]): Unit

    Protected function that gets called on Quit messages

    Protected function that gets called on Quit messages

    reason

    Reason that was given for quitting by the server

    Attributes
    protected
  22. def process(): Unit

    processes one instruction from the client if it is available.

    processes one instruction from the client if it is available. Will block until the computation is complete.

  23. def processSafe(): Unit
  24. def quit(reason: Option[String] = None): Unit

    Quits the session with the SCSCP server

    Quits the session with the SCSCP server

    reason

    Reason for quitting. Optional.

  25. val reader: SCSCPReader
  26. val server: SCSCPServer
  27. val socket: Socket
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. val writer: SCSCPWriter

Inherited from AnyRef

Inherited from Any

Ungrouped