Package edu.sc.seis.sod.source.network
Class CombineNetworkSource
- java.lang.Object
-
- edu.sc.seis.sod.source.AbstractSource
-
- edu.sc.seis.sod.source.network.AbstractNetworkSource
-
- edu.sc.seis.sod.source.network.CombineNetworkSource
-
- All Implemented Interfaces:
NetworkSource
,Source
public class CombineNetworkSource extends AbstractNetworkSource implements NetworkSource
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.sod.source.network.AbstractNetworkSource
constraints, REFRESH_ELEMENT, refreshInterval
-
Fields inherited from class edu.sc.seis.sod.source.AbstractSource
name, NAME_ELEMENT, RETRIES_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description CombineNetworkSource(org.w3c.dom.Element config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class edu.sc.seis.sod.source.AbstractSource
appendToName, getFissuresNamingService, getRetries, getRetryStrategy, setRetryStrategy
-
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
getRetries, getRetryStrategy
-
Methods inherited from interface edu.sc.seis.sod.source.Source
appendToName
-
-
-
-
Constructor Detail
-
CombineNetworkSource
public CombineNetworkSource(org.w3c.dom.Element config) throws ConfigurationException
- Throws:
ConfigurationException
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Source
returns the name of the server. The name to which the server's servant instance is bound in the CORBA naming service. For non-corba servers, this string can be anything that seems reasonable and is relatively unique- Specified by:
getName
in interfaceSource
- Overrides:
getName
in classAbstractSource
- Returns:
- a
String
value
-
getRefreshInterval
public edu.iris.Fissures.model.TimeInterval getRefreshInterval()
- Specified by:
getRefreshInterval
in interfaceNetworkSource
- Overrides:
getRefreshInterval
in classAbstractNetworkSource
-
getNetwork
public edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess getNetwork(edu.iris.Fissures.network.NetworkAttrImpl attr)
- Specified by:
getNetwork
in interfaceNetworkSource
-
getNetworkByName
public java.util.List<? extends edu.sc.seis.fissuresUtil.cache.CacheNetworkAccess> getNetworkByName(java.lang.String name) throws edu.iris.Fissures.IfNetwork.NetworkNotFound
- Specified by:
getNetworkByName
in interfaceNetworkSource
- Throws:
edu.iris.Fissures.IfNetwork.NetworkNotFound
-
getNetworks
public java.util.List<? extends edu.iris.Fissures.network.NetworkAttrImpl> getNetworks() throws SodSourceException
- Specified by:
getNetworks
in interfaceNetworkSource
- Throws:
SodSourceException
-
getStations
public java.util.List<? extends edu.iris.Fissures.network.StationImpl> getStations(edu.iris.Fissures.network.NetworkAttrImpl net) throws SodSourceException
- Specified by:
getStations
in interfaceNetworkSource
- Throws:
SodSourceException
-
getChannels
public java.util.List<? extends edu.iris.Fissures.network.ChannelImpl> getChannels(edu.iris.Fissures.network.StationImpl station) throws SodSourceException
- Specified by:
getChannels
in interfaceNetworkSource
- Throws:
SodSourceException
-
getSensitivity
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
- Specified by:
getSensitivity
in interfaceNetworkSource
- Throws:
edu.iris.Fissures.IfNetwork.ChannelNotFound
edu.sc.seis.fissuresUtil.sac.InvalidResponse
SodSourceException
-
getInstrumentation
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
- Specified by:
getInstrumentation
in interfaceNetworkSource
- Throws:
edu.iris.Fissures.IfNetwork.ChannelNotFound
edu.sc.seis.fissuresUtil.sac.InvalidResponse
SodSourceException
-
setConstraints
public void setConstraints(NetworkQueryConstraints constraints)
- Specified by:
setConstraints
in interfaceNetworkSource
- Overrides:
setConstraints
in classAbstractNetworkSource
-
-