io.vertx.ext.web.handler.sockjs

## Interface BridgeEvent

- All Superinterfaces:
    AsyncResult<Boolean>, Future<Boolean>

      public interface BridgeEvent
      extends Future<Boolean>

  Represents an event that occurs on the event bus bridge.

  Please consult the documentation for a full explanation.

  Author:
    Tim Fox

- - ### Field Summary

    - ### Fields inherited from interface io.vertx.core.Future

      `factory`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `JsonObject` | `rawMessage()` Get the raw JSON message for the event.
    `SockJSSocket` | `socket()` Get the SockJSSocket instance corresponding to the event
    `BridgeEventType` | `type()`

    - ### Methods inherited from interface io.vertx.core.Future

      `complete, complete, fail, fail, failedFuture, failedFuture, future, isComplete, setHandler, succeededFuture, succeededFuture`

    - ### Methods inherited from interface io.vertx.core.AsyncResult

      `cause, failed, result, succeeded`

- - ### Method Detail

    - #### type

          BridgeEventType type()

      Returns:
        the type of the event

    - #### rawMessage

          JsonObject rawMessage()

      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.
      Returns:
        the raw JSON message for the event

    - #### socket

          SockJSSocket socket()

      Get the SockJSSocket instance corresponding to the event
      Returns:
        the SockJSSocket instance

Copyright © 2015. All rights reserved.