public class IpcVehicleGtfsRealtime extends IpcVehicle
Constructor and Description |
---|
IpcVehicleGtfsRealtime(VehicleState vs)
The constructor used on the server side
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAtOrNextGtfsStopSeq()
Returns the GTFS stop sequence of the stop the vehicle is at or is moving
to.
|
java.lang.String |
getAtOrNextStopId()
Returns stop ID of stop that vehicle is at or for the next stop if
vehicle is in between stops.
|
long |
getTripStartEpochTime() |
boolean |
isAtStop()
Returns true if vehicle at a stop
|
java.lang.String |
toString() |
getAvl, getBlockAssignmentMethod, getBlockId, getDirectionId, getGpsTime, getHeading, getHeadsign, getId, getLatitude, getLayoverDepartureTime, getLicensePlate, getLongitude, getNextStopId, getNextStopName, getRealTimeSchedAdh, getRouteId, getRouteShortName, getSpeed, getTripId, getTripPatternId, getVehicleType, isDelayed, isForSchedBasedPred, isLayover, isPredictable, main
public IpcVehicleGtfsRealtime(VehicleState vs)
vs
- public long getTripStartEpochTime()
public boolean isAtStop()
public java.lang.String getAtOrNextStopId()
public java.lang.Integer getAtOrNextGtfsStopSeq()
public java.lang.String toString()
toString
in class IpcVehicle