edu.sc.seis.sod.source.network
Class AbstractNetworkSource
java.lang.Object
edu.sc.seis.sod.source.AbstractSource
edu.sc.seis.sod.source.network.AbstractNetworkSource
- All Implemented Interfaces:
- NetworkSource, Source
- Direct Known Subclasses:
- NetworkFinder
public abstract class AbstractNetworkSource
- extends AbstractSource
- implements NetworkSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
refreshInterval
protected TimeInterval refreshInterval
REFRESH_ELEMENT
public static final java.lang.String REFRESH_ELEMENT
- See Also:
- Constant Field Values
AbstractNetworkSource
public AbstractNetworkSource(java.lang.String dns,
java.lang.String name,
int retries)
AbstractNetworkSource
public AbstractNetworkSource(AbstractNetworkSource wrapped)
AbstractNetworkSource
public AbstractNetworkSource(org.w3c.dom.Element config)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRefreshInterval
public TimeInterval getRefreshInterval()
- Specified by:
getRefreshInterval
in interface NetworkSource
getNetwork
public abstract CacheNetworkAccess getNetwork(NetworkAttrImpl attr)
- Specified by:
getNetwork
in interface NetworkSource
getNetworkByName
public abstract java.util.List<? extends CacheNetworkAccess> getNetworkByName(java.lang.String name)
throws NetworkNotFound
- Specified by:
getNetworkByName
in interface NetworkSource
- Throws:
NetworkNotFound
getNetworks
public abstract java.util.List<? extends NetworkAttrImpl> getNetworks()
- Specified by:
getNetworks
in interface NetworkSource
getStations
public abstract java.util.List<? extends StationImpl> getStations(NetworkId net)
- Specified by:
getStations
in interface NetworkSource
getChannels
public abstract java.util.List<? extends ChannelImpl> getChannels(StationImpl station)
- Specified by:
getChannels
in interface NetworkSource
getSensitivity
public abstract QuantityImpl getSensitivity(ChannelId chanId)
throws ChannelNotFound,
InvalidResponse
- Specified by:
getSensitivity
in interface NetworkSource
- Throws:
ChannelNotFound
InvalidResponse
getInstrumentation
public abstract Instrumentation getInstrumentation(ChannelId chanId)
throws ChannelNotFound,
InvalidResponse
- Specified by:
getInstrumentation
in interface NetworkSource
- Throws:
ChannelNotFound
InvalidResponse