
org.opentripplanner.updater.trip.MqttGtfsRealtimeUpdaterParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.updater.trip;
public class MqttGtfsRealtimeUpdaterParameters implements UrlUpdaterParameters {
private final String configRef;
private final String feedId;
private final String url;
private final String topic;
private final int qos;
private final boolean fuzzyTripMatching;
private final BackwardsDelayPropagationType backwardsDelayPropagationType;
public MqttGtfsRealtimeUpdaterParameters(
String configRef,
String feedId,
String url,
String topic,
int qos,
boolean fuzzyTripMatching,
BackwardsDelayPropagationType backwardsDelayPropagationType
) {
this.configRef = configRef;
this.feedId = feedId;
this.url = url;
this.topic = topic;
this.qos = qos;
this.fuzzyTripMatching = fuzzyTripMatching;
this.backwardsDelayPropagationType = backwardsDelayPropagationType;
}
public String url() {
return url;
}
String getTopic() {
return topic;
}
public String feedId() {
return feedId;
}
int getQos() {
return qos;
}
boolean getFuzzyTripMatching() {
return fuzzyTripMatching;
}
BackwardsDelayPropagationType getBackwardsDelayPropagationType() {
return backwardsDelayPropagationType;
}
/** The config name/type for the updater. Used to reference the configuration element. */
public String configRef() {
return configRef;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy