Values
bridgeEventTypeshared bridgeEventType bridgeEventType
bridgeOptionsshared bridgeOptions bridgeOptions
event_sourceshared event_source event_source
html_fileshared html_file html_file
json_pshared json_p json_p

Slow and old fashioned JSONP polling. This transport will show “busy indicator” (aka: “spinning wheel”) when sending data.

permittedOptionsshared permittedOptions permittedOptions
publishshared publish publish

This event will occur when a message is attempted to be published from the client to the server.

receiveshared receive receive

This event will occur when a message is attempted to be delivered from the server to the client.

registershared register register

This event will occur when a client attempts to register a handler.

sendshared send send

This event will occur when a message is attempted to be sent from the client to the server.

sockJSHandlershared sockJSHandler sockJSHandler
sockJSHandlerOptionsshared sockJSHandlerOptions sockJSHandlerOptions
socket_closedshared socket_closed socket_closed

This event will occur when a SockJS socket is closed.

socket_createdshared socket_created socket_created

This event will occur when a new SockJS socket is created.

transportshared transport transport
unregistershared unregister unregister

This event will occur when a client attempts to unregister a handler.

websocketshared websocket websocket
xhrshared xhr xhr

Long-polling using cross domain XHR

Classes
BridgeEventshared BridgeEvent

Represents an event that occurs on the event bus bridge.

Please consult the documentation for a full explanation.

BridgeEventTypeshared abstract BridgeEventType

Bridge Event Types.

BridgeOptionsshared BridgeOptions

Options for configuring the event bus bridge.

PermittedOptionsshared PermittedOptions

Specify a match to allow for inbound and outbound traffic using the BridgeOptions.

SockJSHandlershared SockJSHandler

A handler that allows you to handle SockJS connections from clients.

We currently support version 0.3.3 of the SockJS protocol, which can be found in this tag:

SockJSHandlerOptionsshared SockJSHandlerOptions

Options for configuring a SockJS handler

SockJSSocketshared SockJSSocket

You interact with SockJS clients through instances of SockJS socket.

The API is very similar to io.vertx.core.http.WebSocket. It implements both and so it can be used with io.vertx.core.streams.Pump to pump data with flow control.

Transportshared abstract Transport

The available SockJS transports

bridgeEventTypeshared bridgeEventType
bridgeOptionsshared bridgeOptions
event_sourceshared event_source
html_fileshared html_file
json_pshared json_p

Slow and old fashioned JSONP polling. This transport will show “busy indicator” (aka: “spinning wheel”) when sending data.

permittedOptionsshared permittedOptions
publishshared publish

This event will occur when a message is attempted to be published from the client to the server.

receiveshared receive

This event will occur when a message is attempted to be delivered from the server to the client.

registershared register

This event will occur when a client attempts to register a handler.

sendshared send

This event will occur when a message is attempted to be sent from the client to the server.

sockJSHandlershared sockJSHandler
sockJSHandlerOptionsshared sockJSHandlerOptions
socket_closedshared socket_closed

This event will occur when a SockJS socket is closed.

socket_createdshared socket_created

This event will occur when a new SockJS socket is created.

transportshared transport
unregistershared unregister

This event will occur when a client attempts to unregister a handler.

websocketshared websocket
xhrshared xhr

Long-polling using cross domain XHR