public enum BridgeEventType extends Enum<BridgeEventType>
Enum Constant and Description |
---|
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.
|
SEND
This event will occur when a message is attempted to be sent from the client to the server.
|
SOCKET_CLOSED
This event will occur when a SockJS socket is closed.
|
SOCKET_CREATED
This event will occur when a new SockJS socket is created.
|
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.
|
UNREGISTER
This event will occur when a client attempts to unregister a handler.
|
Modifier and Type | Method and Description |
---|---|
static BridgeEventType |
valueOf(String name)
Returns 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.
|
public static final BridgeEventType SOCKET_CREATED
public static final BridgeEventType SOCKET_CLOSED
public static final BridgeEventType SOCKET_IDLE
public static final BridgeEventType SOCKET_PING
public static final BridgeEventType SEND
public static final BridgeEventType PUBLISH
public static final BridgeEventType RECEIVE
public static final BridgeEventType REGISTER
public static final BridgeEventType UNREGISTER
public static BridgeEventType[] values()
for (BridgeEventType c : BridgeEventType.values()) System.out.println(c);
public static BridgeEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Eclipse. All rights reserved.