edu.sc.seis.sod.source.network
Class AbstractNetworkSource

java.lang.Object
  extended by edu.sc.seis.sod.source.AbstractSource
      extended by edu.sc.seis.sod.source.network.AbstractNetworkSource
All Implemented Interfaces:
NetworkSource, Source
Direct Known Subclasses:
FdsnStation, NetworkFinder

public abstract class AbstractNetworkSource
extends AbstractSource
implements NetworkSource


Field Summary
protected  NetworkQueryConstraints constraints
           
static java.lang.String REFRESH_ELEMENT
           
protected  TimeInterval refreshInterval
           
 
Constructor Summary
AbstractNetworkSource(AbstractNetworkSource wrapped)
           
AbstractNetworkSource(org.w3c.dom.Element config)
           
AbstractNetworkSource(java.lang.String name, int retries)
           
 
Method Summary
 TimeInterval getRefreshInterval()
           
 void setConstrains(NetworkQueryConstraints constraints)
           
 
Methods inherited from class edu.sc.seis.sod.source.AbstractSource
getFissuresNamingService, getName, getRetries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.sc.seis.sod.source.network.NetworkSource
getChannels, getInstrumentation, getNetwork, getNetworkByName, getNetworks, getSensitivity, getStations
 
Methods inherited from interface edu.sc.seis.sod.source.Source
getName
 

Field Detail

constraints

protected NetworkQueryConstraints constraints

refreshInterval

protected TimeInterval refreshInterval

REFRESH_ELEMENT

public static final java.lang.String REFRESH_ELEMENT
See Also:
Constant Field Values
Constructor Detail

AbstractNetworkSource

public AbstractNetworkSource(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
Method Detail

getRefreshInterval

public TimeInterval getRefreshInterval()
Specified by:
getRefreshInterval in interface NetworkSource

setConstrains

public void setConstrains(NetworkQueryConstraints constraints)
Specified by:
setConstrains in interface NetworkSource