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.ipc.data |
This package contains the low-level objects that are transmitted to
the clients via RMI.
|
org.transitime.ipc.interfaces |
Contains the Interfaces for communicating data via RMI between a server
and a client.
|
org.transitime.ipc.servers |
Contains the classes for the servers, such as the core prediction system,
that provide data via RMI.
|
Constructor and Description |
---|
ApiGpsLocation(IpcVehicle vehicle) |
ApiVehicle(IpcVehicle vehicle)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicle(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicleAbstract(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicleDetails(IpcVehicle vehicle,
Time timeForAgency,
TransitimeApi.UiMode... uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
Constructor and Description |
---|
ApiVehicles(java.util.Collection<IpcVehicle> vehicles)
For constructing a ApiVehicles object from a Collection of Vehicle
objects.
|
ApiVehicles(java.util.Collection<IpcVehicle> vehicles,
java.util.Map<java.lang.String,TransitimeApi.UiMode> uiTypesForVehicles)
For constructing a ApiVehicles object from a Collection of Vehicle
objects.
|
ApiVehiclesDetails(java.util.Collection<IpcVehicle> vehicles,
java.lang.String agencyId,
java.util.Map<java.lang.String,TransitimeApi.UiMode> uiTypesForVehicles)
For constructing a ApiVehiclesDetails object from a Collection of Vehicle
objects.
|
Constructor and Description |
---|
SiriFramedVehicleJourneyRef(IpcVehicle vehicle,
java.text.DateFormat dateFormatter)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
IpcVehicleComplete
Extension of IpcVehicle class so that all info describing vehicle is
included.
|
class |
IpcVehicleGtfsRealtime
Extension of IpcVehicle class so that additional info can be provided for
GTFS-realtime feed.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IpcVehicle> |
IpcActiveBlock.getVehicles() |
Constructor and Description |
---|
IpcActiveBlock(IpcBlock ipcBlock,
int activeTripIndex,
java.util.Collection<IpcVehicle> ipcVehicles,
Trip tripForSorting)
Constructor
|
Modifier and Type | Method and Description |
---|---|
IpcVehicle |
VehiclesInterface.get(java.lang.String vehicleId)
Gets from server IpcVehicle info for specified vehicle.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IpcVehicle> |
VehiclesInterface.get()
Gets from server IpcVehicle info for all vehicles.
|
java.util.Collection<IpcVehicle> |
VehiclesInterface.get(java.util.Collection<java.lang.String> vehicleIds)
Gets from server IpcVehicle info for vehicles specified by vehicles
parameter.
|
java.util.Collection<IpcVehicle> |
VehiclesInterface.getForRoute(java.util.Collection<java.lang.String> routeIdsOrShortNames)
Gets from server IpcVehicle info for all vehicles currently.
|
java.util.Collection<IpcVehicle> |
VehiclesInterface.getForRoute(java.lang.String routeIdOrShortName)
Gets from server IpcVehicle info for all vehicles currently.
|
Modifier and Type | Method and Description |
---|---|
IpcVehicle |
VehiclesServer.get(java.lang.String vehicleId) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IpcVehicle> |
VehiclesServer.get() |
java.util.Collection<IpcVehicle> |
VehiclesServer.get(java.util.Collection<java.lang.String> vehicleIds) |
java.util.Collection<IpcVehicle> |
VehiclesServer.getForRoute(java.util.Collection<java.lang.String> routeIdsOrShortNames) |
java.util.Collection<IpcVehicle> |
VehiclesServer.getForRoute(java.lang.String routeIdOrShortName) |