Class ReadThread

All Implemented Interfaces:
Runnable

public class ReadThread extends Thread
  • Constructor Details

    • ReadThread

      public ReadThread(Socket clientSocket)
  • Method Details

    • getExMessage

      public String getExMessage()
    • getMessage

      public String getMessage()
    • start

      public void start()
      Lettura del messaggio ricevuto dal client
      Overrides:
      start in class Thread
    • interrupt

      public void interrupt()
      Terminazione del thread. Con chiusura dello stream di input e del socket.
      Overrides:
      interrupt in class Thread