Class WebSocketClient.WebsocketWriteThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    WebSocketClient

    private class WebSocketClient.WebsocketWriteThread
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Detail

      • WebsocketWriteThread

        WebsocketWriteThread​(WebSocketClient webSocketClient)
    • Method Detail

      • run

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

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

        private void closeSocket()
        Closing the socket