scheduler.modulesinterfaces
Interface ConnectionsTravelInfoProvider

All Known Implementing Classes:
WorldTravelInfoProvider

public interface ConnectionsTravelInfoProvider

An interface defining the methods to access a source of the travel information on the world.

Author:
Piotrek

Method Summary
 java.util.ArrayList GetConnectionsForStation(Station station, int meanOfTransportation)
          Gets a list of all connections leaving from the given station.
 

Method Detail

GetConnectionsForStation

public java.util.ArrayList GetConnectionsForStation(Station station,
                                                    int meanOfTransportation)
Gets a list of all connections leaving from the given station.

Parameters:
station - A station for which to search for the conenctions.
meanOfTransportation - A mean of transportation the connections should be searched for.
Returns:
A list of all found connection or an empty list if there are none.
See Also:
MeanOfTransportation.AIRPLANE, MeanOfTransportation.BUS, MeanOfTransportation.SHIP, MeanOfTransportation.TAXI, MeanOfTransportation.TRAIN, MeanOfTransportation.WALK