Class WebSocketClient.WebsocketWriteThread

java.lang.Object
org.java_websocket.client.WebSocketClient.WebsocketWriteThread
All Implemented Interfaces:
Runnable
Enclosing class:
WebSocketClient

private class WebSocketClient.WebsocketWriteThread extends Object implements Runnable
  • Field Details

  • Constructor Details

    • WebsocketWriteThread

      WebsocketWriteThread(WebSocketClient webSocketClient)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • runWriteData

      private void runWriteData() throws IOException
      Write the data into the outstream
      Throws:
      IOException - if write or flush did not work
    • closeSocket

      private void closeSocket()
      Closing the socket