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

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

public class FdsnStation
extends AbstractNetworkSource


Field Summary
 
Fields inherited from class edu.sc.seis.sod.source.network.AbstractNetworkSource
constraints, REFRESH_ELEMENT, refreshInterval
 
Constructor Summary
FdsnStation()
           
FdsnStation(org.w3c.dom.Element config)
           
FdsnStation(java.lang.String name, int retries, edu.sc.seis.seisFile.fdsnws.FDSNStationQueryParams queryParams)
           
 
Method Summary
 java.util.List<? extends ChannelImpl> getChannels(StationId stationId)
           
 java.util.List<? extends ChannelImpl> getChannels(StationImpl station)
           
 Instrumentation getInstrumentation(ChannelId chanId)
           
 CacheNetworkAccess getNetwork(NetworkAttrImpl attr)
           
 java.util.List<? extends CacheNetworkAccess> getNetworkByName(java.lang.String name)
           
 java.util.List<? extends NetworkAttrImpl> getNetworks()
           
 QuantityImpl getSensitivity(ChannelId chanId)
           
 java.util.List<? extends StationImpl> getStations(NetworkId net)
           
 
Methods inherited from class edu.sc.seis.sod.source.network.AbstractNetworkSource
getRefreshInterval, setConstrains
 
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.Source
getName
 

Constructor Detail

FdsnStation

public FdsnStation()

FdsnStation

public FdsnStation(java.lang.String name,
                   int retries,
                   edu.sc.seis.seisFile.fdsnws.FDSNStationQueryParams queryParams)

FdsnStation

public FdsnStation(org.w3c.dom.Element config)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getNetwork

public CacheNetworkAccess getNetwork(NetworkAttrImpl attr)

getNetworkByName

public java.util.List<? extends CacheNetworkAccess> getNetworkByName(java.lang.String name)
                                                              throws NetworkNotFound
Throws:
NetworkNotFound

getNetworks

public java.util.List<? extends NetworkAttrImpl> getNetworks()

getStations

public java.util.List<? extends StationImpl> getStations(NetworkId net)

getChannels

public java.util.List<? extends ChannelImpl> getChannels(StationImpl station)

getChannels

public java.util.List<? extends ChannelImpl> getChannels(StationId stationId)

getSensitivity

public QuantityImpl getSensitivity(ChannelId chanId)
                            throws ChannelNotFound,
                                   InvalidResponse
Throws:
ChannelNotFound
InvalidResponse

getInstrumentation

public Instrumentation getInstrumentation(ChannelId chanId)
                                   throws ChannelNotFound,
                                          InvalidResponse
Throws:
ChannelNotFound
InvalidResponse