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()voidconnect()onBinary(WebSocket webSocket, ByteBuffer data, boolean last) voidvoidonText(WebSocket webSocket, CharSequence data, boolean last) 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
onPing, onPong
-
Field Details
-
isClosed
public boolean isClosed -
httpClient
-
webSocket
-
ssl
protected boolean ssl -
port
protected int port
-
-
Constructor Details
-
ClientJSONPoint
-
ClientJSONPoint
-
-
Method Details
-
connect
-
openAsync
-
onText
- Specified by:
onTextin interfaceWebSocket.Listener
-
onClose
- Specified by:
onClosein interfaceWebSocket.Listener
-
onOpen
- Specified by:
onOpenin interfaceWebSocket.Listener
-
onBinary
- Specified by:
onBinaryin interfaceWebSocket.Listener
-
onError
- Specified by:
onErrorin interfaceWebSocket.Listener
-
send
-
close
public void close()
-