class SCSCPServerClient extends AnyRef
- Alphabetic
- By Inheritance
- SCSCPServerClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SCSCPServerClient(socket: Socket, server: SCSCPServer, encoding: String = "UTF-8")
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
connected: Boolean
Checks if this SCSCPClient is still connected to the server
- val encoding: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
event(event: SCSCPServerEvent): Unit
logs a debug message
logs a debug message
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[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()
-
val
identifier: String
An identifier for this client, which is unique within the server
-
def
info(message: String): Unit
Sends an info message to the client
Sends an info message to the client
- message
Message to send
-
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
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
-
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
-
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.
- def processSafe(): Unit
-
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.
- val reader: SCSCPReader
- val server: SCSCPServer
- val socket: Socket
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()
- val writer: SCSCPWriter