Package | Description |
---|---|
org.transitime.api.data |
This package contains the classes for the objects that are serialized into
JSON or XML.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ApiActiveBlocksRoute.add(IpcActiveBlock ipcActiveBlock,
java.lang.String agencyId) |
Constructor and Description |
---|
ApiActiveBlock(IpcActiveBlock ipcActiveBlock,
java.lang.String agencyId) |
Constructor and Description |
---|
ApiActiveBlocks(java.util.Collection<IpcActiveBlock> ipcActiveBlocks,
java.lang.String agencyId) |
ApiActiveBlocksRoutes(java.util.Collection<IpcActiveBlock> activeBlocks,
java.lang.String agencyId)
Constructs an ApiRouteSummaries using a collection of IpcActiveBlock
objects.
|
Modifier and Type | Method and Description |
---|---|
static void |
IpcActiveBlock.sort(java.util.List<IpcActiveBlock> activeBlocks)
Sorts the list of IpcActiveBlock objects by route and then by trip start time
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IpcActiveBlock> |
VehiclesInterface.getActiveBlocks(java.util.Collection<java.lang.String> routeIds,
int allowableBeforeTimeSecs)
Gets from the server IpcActiveBlocks for blocks that are currently
active.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IpcActiveBlock> |
VehiclesServer.getActiveBlocks(java.util.Collection<java.lang.String> routeIds,
int allowableBeforeTimeSecs) |