Class BridgeEvent


  • public class BridgeEvent
    extends BaseBridgeEvent
    Represents an event that occurs on the event bus bridge.

    Please consult the documentation for a full explanation.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • BridgeEvent

        public BridgeEvent​(io.vertx.ext.web.handler.sockjs.BridgeEvent delegate)
      • BridgeEvent

        public BridgeEvent​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.handler.sockjs.BridgeEvent getDelegate()
        Overrides:
        getDelegate in class BaseBridgeEvent
      • complete

        public void complete​(Boolean result)
        Set the result. Any handler will be called, if there is one, and the promise will be marked as completed.

        Any handler set on the associated promise will be called.

        Overrides:
        complete in class BaseBridgeEvent
        Parameters:
        result - the result
      • future

        public io.vertx.core.Future<Boolean> future()
        Overrides:
        future in class BaseBridgeEvent
        Returns:
        the associated with this promise, it can be used to be aware of the promise completion
      • setRawMessage

        public BridgeEvent setRawMessage​(io.vertx.core.json.JsonObject message)
        Set the raw JSON message for the event.
        Overrides:
        setRawMessage in class BaseBridgeEvent
        Parameters:
        message - the raw message
        Returns:
        this reference, so it can be used fluently
      • socket

        public SockJSSocket socket()
        Get the SockJSSocket instance corresponding to the event
        Returns:
        the SockJSSocket instance
      • newInstance

        public static BridgeEvent newInstance​(io.vertx.ext.web.handler.sockjs.BridgeEvent arg)