public class GtfsRealtimeHttpTripUpdateSource extends Object implements TripUpdateSource, JsonConfigurable
Constructor and Description |
---|
GtfsRealtimeHttpTripUpdateSource() |
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 JsonConfigurable
Exception
public List<GtfsRealtime.TripUpdate> getUpdates()
TripUpdateSource
getUpdates
in interface TripUpdateSource
public boolean getFullDatasetValueOfLastUpdates()
getFullDatasetValueOfLastUpdates
in interface TripUpdateSource
public String getFeedId()
getFeedId
in interface TripUpdateSource
Copyright © 2018. All rights reserved.