public class WaveformStationStatus extends AbstractVelocityStatus implements WaveformMonitor, NetworkMonitor
Constructor and Description |
---|
WaveformStationStatus(org.w3c.dom.Element config) |
WaveformStationStatus(java.lang.String fileDir,
java.lang.String templateName) |
Modifier and Type | Method and Description |
---|---|
void |
change(Channel channel,
Status s) |
void |
change(NetworkAttrImpl net,
Status status) |
void |
change(Site site,
Status s) |
void |
change(Station station,
Status s) |
protected void |
doUpdate(StationImpl station) |
int |
getNumDirDeep()
Method getNumDirDeep returns how many directories below the base status
directory this template will write
|
void |
setArmStatus(java.lang.String status) |
void |
update(EventChannelPair ecp) |
void |
update(EventNetworkPair ecp) |
void |
update(EventStationPair ecp) |
void |
update(EventVectorPair ecp) |
getNestedTextForElement, getTemplateName, loadTemplate, loadTemplate, scheduleOutput, scheduleOutput
public WaveformStationStatus(java.lang.String fileDir, java.lang.String templateName) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public WaveformStationStatus(org.w3c.dom.Element config) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public int getNumDirDeep()
AbstractVelocityStatus
getNumDirDeep
in class AbstractVelocityStatus
public void update(EventNetworkPair ecp)
update
in interface WaveformMonitor
public void update(EventStationPair ecp)
update
in interface WaveformMonitor
public void update(EventChannelPair ecp)
update
in interface WaveformMonitor
public void update(EventVectorPair ecp)
update
in interface WaveformMonitor
protected void doUpdate(StationImpl station)
public void setArmStatus(java.lang.String status) throws java.lang.Exception
setArmStatus
in interface NetworkMonitor
java.lang.Exception
public void change(Station station, Status s)
change
in interface NetworkMonitor
public void change(Channel channel, Status s)
change
in interface NetworkMonitor
public void change(NetworkAttrImpl net, Status status)
change
in interface NetworkMonitor
public void change(Site site, Status s)
change
in interface NetworkMonitor