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

java.lang.Object
  extended by edu.sc.seis.sod.source.network.WrappingNetworkSource
      extended by edu.sc.seis.sod.source.network.LoadedNetworkSource
All Implemented Interfaces:
NetworkSource, Source

public class LoadedNetworkSource
extends WrappingNetworkSource
implements NetworkSource


Constructor Summary
LoadedNetworkSource(NetworkSource wrapped, java.util.List<? extends StationImpl> allStations, StationImpl sta)
           
 
Method Summary
 java.util.List<? extends ChannelImpl> getChannels(StationImpl station)
           
 Instrumentation getInstrumentation(ChannelId chanId)
           
 QuantityImpl getSensitivity(ChannelId chanId)
           
 java.util.List<? extends StationImpl> getStations(NetworkId net)
           
 boolean isInstrumentationLoaded(ChannelId chan)
           
 
Methods inherited from class edu.sc.seis.sod.source.network.WrappingNetworkSource
getDNS, getName, getNetwork, getNetworkByName, getNetworks, getRefreshInterval, getWrapped
 
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
getNetwork, getNetworkByName, getNetworks, getRefreshInterval
 
Methods inherited from interface edu.sc.seis.sod.source.Source
getDNS, getName
 

Constructor Detail

LoadedNetworkSource

public LoadedNetworkSource(NetworkSource wrapped,
                           java.util.List<? extends StationImpl> allStations,
                           StationImpl sta)
Method Detail

getChannels

public java.util.List<? extends ChannelImpl> getChannels(StationImpl station)
Specified by:
getChannels in interface NetworkSource
Overrides:
getChannels in class WrappingNetworkSource

getInstrumentation

public Instrumentation getInstrumentation(ChannelId chanId)
                                   throws ChannelNotFound,
                                          InvalidResponse
Specified by:
getInstrumentation in interface NetworkSource
Overrides:
getInstrumentation in class WrappingNetworkSource
Throws:
ChannelNotFound
InvalidResponse

getSensitivity

public QuantityImpl getSensitivity(ChannelId chanId)
                            throws ChannelNotFound,
                                   InvalidResponse
Specified by:
getSensitivity in interface NetworkSource
Overrides:
getSensitivity in class WrappingNetworkSource
Throws:
ChannelNotFound
InvalidResponse

getStations

public java.util.List<? extends StationImpl> getStations(NetworkId net)
Specified by:
getStations in interface NetworkSource
Overrides:
getStations in class WrappingNetworkSource

isInstrumentationLoaded

public boolean isInstrumentationLoaded(ChannelId chan)