
org.opentripplanner.updater.support.siri.SiriLoader Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.updater.support.siri;
import jakarta.xml.bind.JAXBException;
import java.util.Optional;
import uk.org.siri.siri20.Siri;
/**
* The Siri loader is used to fetch updates from a source like http(s) or directory.
*/
public interface SiriLoader {
/**
* Request a new Siri SX update.
*/
Optional fetchSXFeed(String requestorRef) throws JAXBException;
/**
* Request a new Siri ET update.
*/
Optional fetchETFeed(String requestorRef) throws JAXBException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy