public class ConnectionState
extends java.lang.Object
State can only go in one direction from HANDSHAKING to DISCONNECTED.
| Constructor and Description |
|---|
ConnectionState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadWebSocketFrames()
Tests to see if state allows for reading of WebSocket frames
|
boolean |
canWriteWebSocketFrames()
Test to see if state allows writing of WebSocket frames
|
boolean |
closing()
The Local Endpoint wants to close.
|
boolean |
disconnected()
Final Terminal state indicating the connection is disconnected
|
boolean |
opened()
Requests that the connection migrate to OPENED state
|
boolean |
opening()
Requests that the connection migrate to OPENING state
|
java.lang.String |
toString() |
public boolean canWriteWebSocketFrames()
public boolean canReadWebSocketFrames()
public boolean opening()
public boolean opened()
public boolean closing()
public boolean disconnected()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2022 Webtide. All rights reserved.