Enum BridgeEventType
- All Implemented Interfaces:
Serializable, Comparable<BridgeEventType>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis event will occur when a message is attempted to be published from the client to the server.This event will occur when a message is attempted to be delivered from the server to the client.This event will occur when a client attempts to register a handler.This event will occur when a client successfully registered.This event will occur when a message is attempted to be sent from the client to the server.This event will occur when a SockJS socket is closed.This event will occur when a new SockJS socket is created.This event will occur when an underlying transport errors.This event will occur when SockJS socket is on idle for longer period of time than configured.This event will occur when the last ping timestamp is updated for the SockJS socket.This event will occur when a client attempts to unregister a handler. -
Method Summary
Modifier and TypeMethodDescriptionstatic BridgeEventTypeReturns the enum constant of this type with the specified name.static BridgeEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOCKET_CREATED
This event will occur when a new SockJS socket is created. -
SOCKET_CLOSED
This event will occur when a SockJS socket is closed. -
SOCKET_IDLE
This event will occur when SockJS socket is on idle for longer period of time than configured. -
SOCKET_PING
This event will occur when the last ping timestamp is updated for the SockJS socket. -
SOCKET_ERROR
This event will occur when an underlying transport errors. -
SEND
This event will occur when a message is attempted to be sent from the client to the server. -
PUBLISH
This event will occur when a message is attempted to be published from the client to the server. -
RECEIVE
This event will occur when a message is attempted to be delivered from the server to the client. -
REGISTER
This event will occur when a client attempts to register a handler. -
REGISTERED
This event will occur when a client successfully registered. The raw message used for registration, notified withREGISTERevent -
UNREGISTER
This event will occur when a client attempts to unregister a handler.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-