Represents an event that occurs on the event bus bridge.

Please consult the documentation for a full explanation.

no subtypes hierarchy

Initializer
BridgeEvent(BridgeEvent unknown)
Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
getRawMessageshared default Object getRawMessage()

Get the raw JSON message for the event. This will be null for SOCKET_CREATED or SOCKET_CLOSED events as there is no message involved. If the returned message is modified, setRawMessage should be called with the new message.

rawMessageshared default Object rawMessage()

Use getRawMessage instead, will be removed in 3.3

setRawMessageshared default BridgeEvent setRawMessage(Object message)

Get the raw JSON message for the event. This will be null for SOCKET_CREATED or SOCKET_CLOSED events as there is no message involved.

Parameters:
  • message

    the raw message

socketshared default SockJSSocket socket()

Get the SockJSSocket instance corresponding to the event

typeshared default BridgeEventType type()

@return the type of the event

Inherited Methods
Methods inherited from: Future<T>
cause, complete, completer, compose, fail, failed, isComplete, map, result, setHandler, succeeded
Methods inherited from: Object
equals