Class WebSocketClient.WebsocketWriteThread
java.lang.Object
org.java_websocket.client.WebSocketClient.WebsocketWriteThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
WebSocketClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidClosing the socketvoidrun()private voidWrite the data into the outstream
-
Field Details
-
webSocketClient
-
-
Constructor Details
-
WebsocketWriteThread
WebsocketWriteThread(WebSocketClient webSocketClient)
-
-
Method Details
-
run
-
runWriteData
Write the data into the outstream- Throws:
IOException- if write or flush did not work
-
closeSocket
private void closeSocket()Closing the socket
-