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 WebSocketStateReturns 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 TypeMethodDescriptionvoidListenerManager.callOnStateChanged(WebSocketState newState) private booleanWebSocket.isInState(WebSocketState state) Check if the current state is equal to the specified state.voidWebSocketAdapter.onStateChanged(WebSocket websocket, WebSocketState newState) voidWebSocketListener.onStateChanged(WebSocket websocket, WebSocketState newState) Called after the state of the WebSocket changed.voidStateManager.setState(WebSocketState state)