edu.sc.seis.sod.source.network
Class StationXML
java.lang.Object
edu.sc.seis.sod.source.network.StationXML
- All Implemented Interfaces:
- NetworkSource, Source
public class StationXML
- extends java.lang.Object
- implements NetworkSource
Constructor Summary |
StationXML(org.w3c.dom.Element config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ONE_SECOND
public static final TimeInterval ONE_SECOND
ONE_DAY
public static final TimeInterval ONE_DAY
URL_ELEMENT
public static final java.lang.String URL_ELEMENT
- See Also:
- Constant Field Values
StationXML
public StationXML(org.w3c.dom.Element config)
throws ConfigurationException
- Throws:
ConfigurationException
getDNS
public java.lang.String getDNS()
- Description copied from interface:
Source
- returns the DNSName of the server.
The context under which the objectName is registered in the CORBA naming service.
For non-corba servers, this string can be anything that seems reasonable and is relatively unique
- Specified by:
getDNS
in interface Source
- Returns:
- a
String
value
getName
public java.lang.String getName()
- Description copied from interface:
Source
- returns the sourceName 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 interface Source
getRefreshInterval
public TimeInterval getRefreshInterval()
- Specified by:
getRefreshInterval
in interface NetworkSource
getNetwork
public CacheNetworkAccess getNetwork(NetworkAttrImpl attr)
- Specified by:
getNetwork
in interface NetworkSource
getNetworkByName
public java.util.List<? extends CacheNetworkAccess> getNetworkByName(java.lang.String name)
throws NetworkNotFound
- Specified by:
getNetworkByName
in interface NetworkSource
- Throws:
NetworkNotFound
getNetworks
public java.util.List<? extends NetworkAttrImpl> getNetworks()
- Specified by:
getNetworks
in interface NetworkSource
getStations
public java.util.List<? extends StationImpl> getStations(NetworkId net)
- Specified by:
getStations
in interface NetworkSource
getChannels
public java.util.List<? extends ChannelImpl> getChannels(StationImpl station)
- Specified by:
getChannels
in interface NetworkSource
getSensitivity
public QuantityImpl getSensitivity(ChannelId chanId)
throws ChannelNotFound,
InvalidResponse
- Specified by:
getSensitivity
in interface NetworkSource
- Throws:
ChannelNotFound
InvalidResponse
getInstrumentation
public Instrumentation getInstrumentation(ChannelId chanId)
throws ChannelNotFound,
InvalidResponse
- Specified by:
getInstrumentation
in interface NetworkSource
- Throws:
ChannelNotFound
InvalidResponse
toDateString
public static java.lang.String toDateString(MicroSecondDate msd)