open class Message : Serializable
Generic Message class
Message(type: String)
Generic Message class |
val type: String
the type of the message. Enables casting to a specific subclass. |
class ClientMessage : Message
A Message type that's sent and received over the P2P network. |
|
data class WebSocketErrorMessage : Message
Error messages meant for the WebSocket |
|
data class WebSocketIdMessage : Message
New ID message |