Package | Description |
---|---|
org.transitime.api.data |
This package contains the classes for the objects that are serialized into
JSON or XML.
|
org.transitime.api.data.siri |
For handling SIRI API.
|
org.transitime.core |
Contains the core classes that process the AVL data and create predictions,
arrival/departure times, headway, etc.
|
org.transitime.core.dataCache |
Contains server-side managers that keep track of real-time data such that
it can be made available to clients via RMI.
|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
org.transitime.ipc.data |
This package contains the low-level objects that are transmitted to
the clients via RMI.
|
Constructor and Description |
---|
ApiPrediction(IpcPrediction prediction) |
Constructor and Description |
---|
SiriMonitoredCall(IpcVehicleComplete ipcCompleteVehicle,
IpcPrediction prediction,
java.text.DateFormat timeFormatter)
Constructs a MonitoredCall element.
|
SiriMonitoredVehicleJourney(IpcVehicleComplete ipcCompleteVehicle,
IpcPrediction prediction,
java.lang.String agencyId,
java.text.DateFormat timeFormatter,
java.text.DateFormat dateFormatter)
Constructs that massive MonitoredVehicleJourney element.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IpcPrediction> |
PredictionGeneratorDefaultImpl.generate(VehicleState vehicleState)
Generates the predictions for the vehicle.
|
java.util.List<IpcPrediction> |
PredictionGenerator.generate(VehicleState vehicleState)
Generates and returns the predictions for the vehicle.
|
java.util.List<IpcPrediction> |
VehicleState.getPredictions()
Gets the current list of predictions for the vehicle.
|
Modifier and Type | Method and Description |
---|---|
void |
VehicleState.setPredictions(java.util.List<IpcPrediction> predictions)
Sets the current list of predictions for the vehicle to the
predictions parameter.
|
Modifier and Type | Method and Description |
---|---|
IpcPrediction |
PredictionDataCache.getPredictionForVehicle(java.lang.String vehicleId,
java.lang.String routeShortName,
java.lang.String stopId)
Gets predictions for specified route/stop and returns the first one for
the specified vehicle.
|
Modifier and Type | Method and Description |
---|---|
void |
PredictionDataCache.updatePredictions(java.util.List<IpcPrediction> oldPredictionsForVehicle,
java.util.List<IpcPrediction> newPredictionsForVehicle)
Updates predictions in the cache that are associated with a vehicle.
|
void |
PredictionDataCache.updatePredictions(java.util.List<IpcPrediction> oldPredictionsForVehicle,
java.util.List<IpcPrediction> newPredictionsForVehicle)
Updates predictions in the cache that are associated with a vehicle.
|
Constructor and Description |
---|
Prediction(IpcPrediction prediction) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IpcPrediction> |
IpcPredictionsForRouteStopDest.getPredictionsForRouteStop() |
Modifier and Type | Method and Description |
---|---|
void |
IpcPredictionsForRouteStopDest.removePrediction(IpcPrediction oldPrediction)
Removes a prediction.
|
Modifier and Type | Method and Description |
---|---|
void |
IpcPredictionsForRouteStopDest.updatePredictionsForVehicle(java.util.List<IpcPrediction> newPredsForRouteStopDest,
long currentTime)
Updates the predictions for this object with the new predictions for a
vehicle.
|