Represents an event that occurs on the event bus bridge.
Please consult the documentation for a full explanation.
AnythingObjectBasic ...and other supertypesFutureBridgeEventFutureBasicIdentifiableObjectAnythingno subtypes hierarchy
| Initializer |
BridgeEvent(BridgeEvent unknown) |
| Inherited Attributes |
Attributes inherited from: Objecthash, string |
| Methods | |
getRawMessage | shared 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. |
rawMessage | shared default Object rawMessage()Use getRawMessage instead, will be removed in 3.3 |
setRawMessage | shared 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:
|
socket | shared default SockJSSocket socket()Get the SockJSSocket instance corresponding to the event |
type | shared 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: Objectequals |