Package adaptlil.gazepoint.api
Class GazepointSimulationServer
java.lang.Object
adaptlil.gazepoint.api.GazepointSimulationServer
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate com.opencsv.CSVReaderprivate Fileprivate PrintStreamprivate intprivate ServerSocketprivate Socketprivate Stringprivate com.fasterxml.jackson.dataformat.xml.XmlMapper -
Constructor Summary
ConstructorsConstructorDescriptionGazepointSimulationServer(String url, int port, File gazeFile, boolean debug) -
Method Summary
-
Field Details
-
url
-
port
private int port -
serverSocket
-
socket
-
gazeFile
-
gazeCsvReader
private com.opencsv.CSVReader gazeCsvReader -
headerRow
-
xmlMapper
private com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper -
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:
IOExceptioncom.opencsv.exceptions.CsvValidationException
-
-
Method Details