Class FileServerThread

java.lang.Object
java.lang.Thread
net.sf.colossus.server.FileServerThread
All Implemented Interfaces:
Runnable

final class FileServerThread extends Thread
Thread handling the distribution of files to clients.
Author:
Romain Dolbeau
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • fileServer

      private ServerSocket fileServer
    • separator

      private static final String separator
      See Also:
    • server

      private final Server server
    • port

      private final int port
    • keepGoingOn

      private boolean keepGoingOn
  • Constructor Details

    • FileServerThread

      FileServerThread(Server server, int port)
  • Method Details

    • stopGoingOn

      public void stopGoingOn()
    • makeDummyConnection

      private void makeDummyConnection()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread