Event

constructor(type: String, channel: String, connectionId: Long?, subscriptions: List<String>, timestamp: Long?, data: T)

Parameters

T

The type of data associated with the event


constructor(type: String, channel: String, connectionId: Long?, data: T)

Deprecated

Use primary constructor with new parameters.