Uses of Enum
com.neovisionaries.ws.client.WebSocketState
-
Uses of WebSocketState in com.neovisionaries.ws.client
Fields in com.neovisionaries.ws.client declared as WebSocketStateMethods in com.neovisionaries.ws.client that return WebSocketStateModifier and TypeMethodDescriptionStateManager.getState()
WebSocket.getState()
Get the current state of this WebSocket.static WebSocketState
Returns the enum constant of this type with the specified name.static WebSocketState[]
WebSocketState.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.neovisionaries.ws.client with parameters of type WebSocketStateModifier and TypeMethodDescriptionvoid
ListenerManager.callOnStateChanged
(WebSocketState newState) private boolean
WebSocket.isInState
(WebSocketState state) Check if the current state is equal to the specified state.void
WebSocketAdapter.onStateChanged
(WebSocket websocket, WebSocketState newState) void
WebSocketListener.onStateChanged
(WebSocket websocket, WebSocketState newState) Called after the state of the WebSocket changed.void
StateManager.setState
(WebSocketState state)