vertx / io.vertx.ext.bridge / BaseBridgeEvent

BaseBridgeEvent

interface BaseBridgeEvent : Future<Boolean>

Represents an event that occurs on the event bus bridge.

Please consult the documentation for a full explanation.

Author
Tim Fox

Functions

getRawMessage

abstract fun getRawMessage(): JsonObject

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.

setRawMessage

abstract fun setRawMessage(message: JsonObject): BaseBridgeEvent

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.

type

abstract fun type(): BridgeEventType