Event

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

Parameters

T

The type of data associated with the event