* @param timelineObject
* @param eventTime
*/
private void analyzeTimelineMessage(JsonObject timelineObject,
double eventTime) {
JsonString measurementNameJS = timelineObject.get("measurementSet").asString();
JsonString eventJS = timelineObject.get("event").asString();
if (measurementNameJS == null || eventJS == null) {
System.err.println("Encountered malformed timeline object: "
+ timelineObject.toString());
return;
}
String measurementName = measurementNameJS.getString();
String event = eventJS.getString();
if (measurements.containsKey(measurementName)) {
MarkTimelineMeasurementSet measurement = measurements.get(measurementName);
measurement.handleEvent(event, eventTime);
} else {