interface IInternalClient
Represents the own user
abstract val sessionId: String
the user's session ID |
abstract fun onReceiveMessage(emitter: (IExternalClient, ClientMessage) -> Unit): Unit
Register a listener that handles messages for this user |
|
abstract fun sendMessage(type: String, messageBody: String, recipient: IExternalClient): Future
Send a message to an external user. |
class InternalClient : IInternalClient
Represents the own user. |