
org.opentripplanner.service.realtimevehicles.RealtimeVehicleService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.service.realtimevehicles;
import java.util.List;
import javax.annotation.Nonnull;
import org.opentripplanner.service.realtimevehicles.model.RealtimeVehicle;
import org.opentripplanner.transit.model.network.TripPattern;
import org.opentripplanner.transit.model.timetable.OccupancyStatus;
import org.opentripplanner.transit.model.timetable.Trip;
public interface RealtimeVehicleService {
/**
* Get the realtime vehicles for a certain trip pattern. Service contains all the vehicles that
* exist in input feeds but doesn't store any historical data.
*/
List getRealtimeVehicles(@Nonnull TripPattern pattern);
/**
* Get the latest occupancy status for a certain trip. Service contains all the vehicles that
* exist in input feeds but doesn't store any historical data.
*/
OccupancyStatus getVehicleOccupancyStatus(@Nonnull Trip trip);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy