Class ClientJSONPoint
java.lang.Object
pro.gravit.launcher.base.request.websockets.ClientJSONPoint
- All Implemented Interfaces:
WebSocket.Listener
- Direct Known Subclasses:
ClientWebSocketService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HttpClientbooleanprotected intprotected booleanprotected WebSocket -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidonText(WebSocket webSocket, CharSequence data, boolean last) voidopen()voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.net.http.WebSocket.Listener
onBinary, onOpen, onPing, onPong
-
Field Details
-
isClosed
public boolean isClosed -
httpClient
-
webSocket
-
ssl
protected boolean ssl -
port
protected int port
-
-
Constructor Details
-
ClientJSONPoint
- Throws:
SSLException
-
ClientJSONPoint
-
-
Method Details
-
open
- Throws:
Exception
-
openAsync
-
onText
- Specified by:
onTextin interfaceWebSocket.Listener
-
onClose
- Specified by:
onClosein interfaceWebSocket.Listener
-
onError
- Specified by:
onErrorin interfaceWebSocket.Listener
-
send
-
close
- Throws:
InterruptedException
-