public class RetryNetworkSource extends WrappingNetworkSource implements NetworkSource
constraints, REFRESH_ELEMENT, refreshInterval
name, NAME_ELEMENT, RETRIES_ELEMENT
Constructor and Description |
---|
RetryNetworkSource(NetworkSource sodElement) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends edu.iris.Fissures.network.ChannelImpl> |
getChannels(edu.iris.Fissures.network.StationImpl station) |
edu.iris.Fissures.IfNetwork.Instrumentation |
getInstrumentation(edu.iris.Fissures.network.ChannelImpl chan) |
java.lang.String |
getName()
returns the name of the server.
|
edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess |
getNetwork(edu.iris.Fissures.network.NetworkAttrImpl attr) |
java.util.List<? extends edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess> |
getNetworkByName(java.lang.String name) |
java.util.List<? extends edu.iris.Fissures.network.NetworkAttrImpl> |
getNetworks() |
edu.iris.Fissures.model.TimeInterval |
getRefreshInterval() |
edu.iris.Fissures.model.QuantityImpl |
getSensitivity(edu.iris.Fissures.network.ChannelImpl chan) |
java.util.List<? extends edu.iris.Fissures.network.StationImpl> |
getStations(edu.iris.Fissures.network.NetworkAttrImpl net) |
void |
setConstraints(NetworkQueryConstraints constraints) |
getWrapped
appendToName, getFissuresNamingService, getRetries, getRetryStrategy, setRetryStrategy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRetries, getRetryStrategy
appendToName
public RetryNetworkSource(NetworkSource sodElement)
public java.lang.String getName()
Source
getName
in interface Source
getName
in class WrappingNetworkSource
String
valuepublic edu.iris.Fissures.model.TimeInterval getRefreshInterval()
getRefreshInterval
in interface NetworkSource
getRefreshInterval
in class WrappingNetworkSource
public edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess getNetwork(edu.iris.Fissures.network.NetworkAttrImpl attr)
getNetwork
in interface NetworkSource
getNetwork
in class WrappingNetworkSource
public java.util.List<? extends edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess> getNetworkByName(java.lang.String name) throws edu.iris.Fissures.IfNetwork.NetworkNotFound
getNetworkByName
in interface NetworkSource
getNetworkByName
in class WrappingNetworkSource
edu.iris.Fissures.IfNetwork.NetworkNotFound
public java.util.List<? extends edu.iris.Fissures.network.NetworkAttrImpl> getNetworks() throws SodSourceException
getNetworks
in interface NetworkSource
getNetworks
in class WrappingNetworkSource
SodSourceException
public java.util.List<? extends edu.iris.Fissures.network.StationImpl> getStations(edu.iris.Fissures.network.NetworkAttrImpl net) throws SodSourceException
getStations
in interface NetworkSource
getStations
in class WrappingNetworkSource
SodSourceException
public java.util.List<? extends edu.iris.Fissures.network.ChannelImpl> getChannels(edu.iris.Fissures.network.StationImpl station) throws SodSourceException
getChannels
in interface NetworkSource
getChannels
in class WrappingNetworkSource
SodSourceException
public edu.iris.Fissures.model.QuantityImpl getSensitivity(edu.iris.Fissures.network.ChannelImpl chan) throws edu.iris.Fissures.IfNetwork.ChannelNotFound, edu.sc.seis.fissuresUtil.sac.InvalidResponse, SodSourceException
getSensitivity
in interface NetworkSource
getSensitivity
in class WrappingNetworkSource
edu.iris.Fissures.IfNetwork.ChannelNotFound
edu.sc.seis.fissuresUtil.sac.InvalidResponse
SodSourceException
public edu.iris.Fissures.IfNetwork.Instrumentation getInstrumentation(edu.iris.Fissures.network.ChannelImpl chan) throws edu.iris.Fissures.IfNetwork.ChannelNotFound, edu.sc.seis.fissuresUtil.sac.InvalidResponse, SodSourceException
getInstrumentation
in interface NetworkSource
getInstrumentation
in class WrappingNetworkSource
edu.iris.Fissures.IfNetwork.ChannelNotFound
edu.sc.seis.fissuresUtil.sac.InvalidResponse
SodSourceException
public void setConstraints(NetworkQueryConstraints constraints)
setConstraints
in interface NetworkSource
setConstraints
in class WrappingNetworkSource