Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BridgeEvent

Represents an event that occurs on the event bus bridge.

Please consult the documentation for a full explanation.

Hierarchy

  • any
    • BridgeEvent

Index

Methods

complete

  • complete(result: boolean): void
  • Parameters

    • result: boolean

    Returns void

future

  • future(): PromiseLike<boolean>
  • Returns PromiseLike<boolean>

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.

    Parameters

    • message: {}
      • [key: string]: any

    Returns BridgeEvent

socket

  • socket(): NetSocket
  • Get the SockJSSocket instance corresponding to the event

    Returns NetSocket

tryComplete

  • tryComplete(arg0: boolean): boolean
  • Parameters

    • arg0: boolean

    Returns boolean

Generated using TypeDoc