Package api
Class RealtimeDataImpl
java.lang.Object
api.RealtimeDataImpl
This class provides the API for getting real-time data from the IDE and eye tracker.
-
Field Summary
Modifier and TypeFieldDescription(package private) InputStream
private static EyeTracker
private static IDETracker
private static RealtimeDataImpl
(package private) Socket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
getHandledIDETrackerData
(com.intellij.openapi.project.Project project) static RealtimeDataImpl
void
void
getRawIDETrackerData
(com.intellij.openapi.project.Project project) void
setEyeTrackerDataHandler
(Consumer<String> eyeTrackerDataHandler) void
setIDETrackerDataHandler
(Consumer<String> ideTrackerDataHandler) void
void
-
Field Details
-
realtimeData
-
socket
Socket socket -
dataInputStream
InputStream dataInputStream -
ideTrackerDataHandler
-
eyeTrackerDataHandler
-
ideTracker
-
eyeTracker
-
-
Constructor Details
-
RealtimeDataImpl
private RealtimeDataImpl()
-
-
Method Details
-
getInstance
-
checkEnvironment
public void checkEnvironment() -
getRawIDETrackerData
public void getRawIDETrackerData(com.intellij.openapi.project.Project project) throws ParserConfigurationException - Throws:
ParserConfigurationException
-
getRawEyeTrackerData
public void getRawEyeTrackerData() -
stopIDETrackerData
- Throws:
TransformerException
-
stopEyeTrackerData
public void stopEyeTrackerData() -
getHandledIDETrackerData
public void getHandledIDETrackerData(com.intellij.openapi.project.Project project) throws ParserConfigurationException, IOException -
getHandledEyeTrackerData
public void getHandledEyeTrackerData() -
setIDETrackerDataHandler
-
setEyeTrackerDataHandler
-