public abstract class WrappingNetworkSource extends java.lang.Object implements NetworkSource
Constructor and Description |
---|
WrappingNetworkSource(NetworkSource wrapped) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends ChannelImpl> |
getChannels(StationImpl station) |
Instrumentation |
getInstrumentation(ChannelImpl chanId) |
java.lang.String |
getName()
returns the name of the server.
|
CacheNetworkAccess |
getNetwork(NetworkAttrImpl attr) |
java.util.List<? extends CacheNetworkAccess> |
getNetworkByName(java.lang.String name) |
java.util.List<? extends NetworkAttrImpl> |
getNetworks() |
TimeInterval |
getRefreshInterval() |
QuantityImpl |
getSensitivity(ChannelImpl chanId) |
java.util.List<? extends StationImpl> |
getStations(NetworkAttrImpl net) |
NetworkSource |
getWrapped() |
void |
setConstraints(NetworkQueryConstraints constraints) |
public WrappingNetworkSource(NetworkSource wrapped)
public NetworkSource getWrapped()
public java.util.List<? extends ChannelImpl> getChannels(StationImpl station) throws SodSourceException
getChannels
in interface NetworkSource
SodSourceException
public CacheNetworkAccess getNetwork(NetworkAttrImpl attr)
getNetwork
in interface NetworkSource
public java.util.List<? extends CacheNetworkAccess> getNetworkByName(java.lang.String name) throws NetworkNotFound
getNetworkByName
in interface NetworkSource
NetworkNotFound
public java.util.List<? extends NetworkAttrImpl> getNetworks() throws SodSourceException
getNetworks
in interface NetworkSource
SodSourceException
public java.util.List<? extends StationImpl> getStations(NetworkAttrImpl net) throws SodSourceException
getStations
in interface NetworkSource
SodSourceException
public QuantityImpl getSensitivity(ChannelImpl chanId) throws ChannelNotFound, InvalidResponse, SodSourceException
getSensitivity
in interface NetworkSource
ChannelNotFound
InvalidResponse
SodSourceException
public Instrumentation getInstrumentation(ChannelImpl chanId) throws ChannelNotFound, InvalidResponse, SodSourceException
getInstrumentation
in interface NetworkSource
ChannelNotFound
InvalidResponse
SodSourceException
public TimeInterval getRefreshInterval()
getRefreshInterval
in interface NetworkSource
public java.lang.String getName()
Source
public void setConstraints(NetworkQueryConstraints constraints)
setConstraints
in interface NetworkSource