dwrtc / ch.hsr.dsl.dwrtc.signaling / Message

Message

open class Message : Serializable

Generic Message class

Constructors

<init>

Message(type: String)

Generic Message class

Properties

type

val type: String

the type of the message. Enables casting to a specific subclass.

Inheritors

ClientMessage

class ClientMessage : Message

A Message type that's sent and received over the P2P network.

WebSocketErrorMessage

data class WebSocketErrorMessage : Message

Error messages meant for the WebSocket

WebSocketIdMessage

data class WebSocketIdMessage : Message

New ID message