Class GazepointSimulationServer

java.lang.Object
adaptlil.gazepoint.api.GazepointSimulationServer
All Implemented Interfaces:
Runnable

public class GazepointSimulationServer extends Object implements Runnable
  • Field Details

    • url

      private String url
    • port

      private int port
    • serverSocket

      private ServerSocket serverSocket
    • socket

      private Socket socket
    • gazeFile

      private File gazeFile
    • gazeCsvReader

      private com.opencsv.CSVReader gazeCsvReader
    • headerRow

      private List<String> headerRow
    • xmlMapper

      private com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper
    • output

      private PrintStream output
    • debug

      private boolean debug
  • Constructor Details

    • GazepointSimulationServer

      public GazepointSimulationServer(String url, int port, File gazeFile, boolean debug) throws IOException, com.opencsv.exceptions.CsvValidationException
      Throws:
      IOException
      com.opencsv.exceptions.CsvValidationException
  • Method Details

    • getUrl

      public String getUrl()
    • getPort

      public int getPort()
    • run

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