Package org.java_websocket.client
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 void
Closing the socketvoid
run()
private void
Write the data into the outstream
-
Field Details
-
webSocketClient
-
-
Constructor Details
-
WebsocketWriteThread
WebsocketWriteThread(WebSocketClient webSocketClient)
-
-
Method Details
-
run
public void run() -
runWriteData
Write the data into the outstream- Throws:
IOException
- if write or flush did not work
-
closeSocket
private void closeSocket()Closing the socket
-