All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.updater.stoptime.WebsocketGtfsRealtimeUpdaterParameters Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.updater.stoptime;

public class WebsocketGtfsRealtimeUpdaterParameters {
  private final String configRef;
  private final String feedId;
  private final String url;
  private final int reconnectPeriodSec;

  public WebsocketGtfsRealtimeUpdaterParameters(
      String configRef, String feedId, String url, int reconnectPeriodSec
  ) {
    this.configRef = configRef;
    this.feedId = feedId;
    this.url = url;
    this.reconnectPeriodSec = reconnectPeriodSec;
  }

  String getUrl() {
    return url;
  }

  String getFeedId() {
    return feedId;
  }

  int getReconnectPeriodSec() {
    return reconnectPeriodSec;
  }

  /** The config name/type for the updater. Used to reference the configuration element. */
  String getConfigRef() {
    return configRef;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy