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 WebSocketStateStateManager. mStateMethods in com.neovisionaries.ws.client that return WebSocketState Modifier and Type Method Description WebSocketStateStateManager. getState()WebSocketStateWebSocket. getState()Get the current state of this WebSocket.static WebSocketStateWebSocketState. 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 voidListenerManager. 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)
-