public class GtfsRealtimeFileTripUpdateSource extends Object implements TripUpdateSource, JsonConfigurable
| Constructor and Description |
|---|
GtfsRealtimeFileTripUpdateSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Graph graph,
com.fasterxml.jackson.databind.JsonNode config) |
String |
getFeedId() |
boolean |
getFullDatasetValueOfLastUpdates() |
List<GtfsRealtime.TripUpdate> |
getUpdates()
Wait for one message to arrive, and decode it into a List of TripUpdates.
|
String |
toString() |
public void configure(Graph graph, com.fasterxml.jackson.databind.JsonNode config) throws Exception
configure in interface JsonConfigurableExceptionpublic List<GtfsRealtime.TripUpdate> getUpdates()
TripUpdateSourcegetUpdates in interface TripUpdateSourcepublic boolean getFullDatasetValueOfLastUpdates()
getFullDatasetValueOfLastUpdates in interface TripUpdateSourcepublic String getFeedId()
getFeedId in interface TripUpdateSourceCopyright © 2018. All rights reserved.