Package org.onebusaway.transit_data_federation.impl.otp

Examples of org.onebusaway.transit_data_federation.impl.otp.OBATraverseOptions


      return traverseForward(s0);
  }

  private State traverseForward(State s0) {

    OBATraverseOptions obaOpts = (OBATraverseOptions) s0.getOptions();
    if (obaOpts.extraSpecialMode)
      return getNextScheduledBlockDepartureResults(s0);

    State results = null;
View Full Code Here


  private List<ArrivalAndDepartureInstance> getDeparturesInTimeRange(State s0,
      long fromTime, long toTime) {

    boolean useRealtime = false;
    TraverseOptions options = s0.getOptions();
    OBATraverseOptions config = options.getExtension(OBATraverseOptions.class);
    if (config != null)
      useRealtime = config.useRealtime;

    ArrivalAndDepartureService service = _context.getArrivalAndDepartureService();
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data_federation.impl.otp.OBATraverseOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.