Uses of Class
com.neovisionaries.ws.client.WebSocketState
-
-
Uses of WebSocketState in com.neovisionaries.ws.client
Fields in com.neovisionaries.ws.client declared as WebSocketState Modifier and Type Field Description private WebSocketState
StateManager. mState
Methods in com.neovisionaries.ws.client that return WebSocketState Modifier and Type Method Description WebSocketState
StateManager. getState()
WebSocketState
WebSocket. getState()
Get the current state of this WebSocket.static WebSocketState
WebSocketState. valueOf(java.lang.String name)
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 WebSocketState Modifier and Type Method Description void
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)
-