Interface BridgeEvent
- All Superinterfaces:
BaseBridgeEvent, Completable<Boolean>, Promise<Boolean>
Represents an event that occurs on the event bus bridge.
Please consult the documentation for a full explanation.
- Author:
- Tim Fox
-
Method Summary
Modifier and TypeMethodDescriptionsetRawMessage(JsonObject message) Get the raw JSON message for the event.socket()Get the SockJSSocket instance corresponding to the eventMethods inherited from interface BaseBridgeEvent
getRawMessage, type
-
Method Details
-
setRawMessage
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.- Specified by:
setRawMessagein interfaceBaseBridgeEvent- Parameters:
message- the raw message- Returns:
- this reference, so it can be used fluently
-
socket
NetSocket socket()Get the SockJSSocket instance corresponding to the event- Returns:
- the SockJSSocket instance
-