Package edu.sc.seis.sod.source.network
Interface NetworkSource
- All Superinterfaces:
Source
- All Known Implementing Classes:
AbstractNetworkSource
,CombineNetworkSource
,CSVNetworkSource
,FdsnStation
,InstrumentationFromDB
,LoadedNetworkSource
,MockNetworkSource
,RetryNetworkSource
,WinstonNetworkSource
,WrappingNetworkSource
public interface NetworkSource extends Source
-
Method Summary
Modifier and Type Method Description java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Channel>
getChannels(edu.sc.seis.seisFile.fdsnws.stationxml.Station station)
java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Network>
getNetworks()
java.time.Duration
getRefreshInterval()
edu.sc.seis.seisFile.fdsnws.stationxml.Response
getResponse(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chanId)
int
getRetries()
RetryStrategy
getRetryStrategy()
java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Station>
getStations(edu.sc.seis.seisFile.fdsnws.stationxml.Network net)
void
setConstraints(NetworkQueryConstraints constraints)
-
Method Details
-
getRefreshInterval
java.time.Duration getRefreshInterval() -
getNetworks
java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Network> getNetworks() throws SodSourceException- Throws:
SodSourceException
-
getStations
java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Station> getStations(edu.sc.seis.seisFile.fdsnws.stationxml.Network net) throws SodSourceException- Throws:
SodSourceException
-
getChannels
java.util.List<? extends edu.sc.seis.seisFile.fdsnws.stationxml.Channel> getChannels(edu.sc.seis.seisFile.fdsnws.stationxml.Station station) throws SodSourceException- Throws:
SodSourceException
-
getResponse
edu.sc.seis.seisFile.fdsnws.stationxml.Response getResponse(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chanId) throws ChannelNotFound, edu.sc.seis.seisFile.fdsnws.stationxml.InvalidResponse, SodSourceException- Throws:
ChannelNotFound
edu.sc.seis.seisFile.fdsnws.stationxml.InvalidResponse
SodSourceException
-
setConstraints
-
getRetries
int getRetries()- Specified by:
getRetries
in interfaceSource
-
getRetryStrategy
RetryStrategy getRetryStrategy()
-