edu.sc.seis.sod.status.waveformArm
Class WaveformNetworkStatus

java.lang.Object
  extended by edu.sc.seis.sod.status.AbstractVelocityStatus
      extended by edu.sc.seis.sod.status.waveformArm.WaveformNetworkStatus
All Implemented Interfaces:
SodElement, NetworkMonitor, WaveformMonitor

public class WaveformNetworkStatus
extends AbstractVelocityStatus
implements WaveformMonitor, NetworkMonitor


Field Summary
protected  java.lang.String networkListTemplate
           
 
Constructor Summary
WaveformNetworkStatus(org.w3c.dom.Element config)
           
 
Method Summary
 void change(Channel channel, Status s)
           
 void change(NetworkAttrImpl net, Status s)
           
 void change(Site site, Status s)
           
 void change(Station station, Status s)
           
 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)
           
 
Methods inherited from class edu.sc.seis.sod.status.AbstractVelocityStatus
getNestedTextForElement, getTemplateName, loadTemplate, loadTemplate, scheduleOutput, scheduleOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

networkListTemplate

protected java.lang.String networkListTemplate
Constructor Detail

WaveformNetworkStatus

public WaveformNetworkStatus(org.w3c.dom.Element config)
                      throws java.sql.SQLException,
                             java.net.MalformedURLException,
                             java.io.IOException
Throws:
java.sql.SQLException
java.net.MalformedURLException
java.io.IOException
Method Detail

getNumDirDeep

public int getNumDirDeep()
Description copied from class: AbstractVelocityStatus
Method getNumDirDeep returns how many directories below the base status directory this template will write

Specified by:
getNumDirDeep in class AbstractVelocityStatus

update

public void update(EventNetworkPair ecp)
Specified by:
update in interface WaveformMonitor

update

public void update(EventStationPair ecp)
Specified by:
update in interface WaveformMonitor

update

public void update(EventChannelPair ecp)
Specified by:
update in interface WaveformMonitor

update

public void update(EventVectorPair ecp)
Specified by:
update in interface WaveformMonitor

setArmStatus

public void setArmStatus(java.lang.String status)
                  throws java.lang.Exception
Specified by:
setArmStatus in interface NetworkMonitor
Throws:
java.lang.Exception

change

public void change(Station station,
                   Status s)
Specified by:
change in interface NetworkMonitor

change

public void change(Channel channel,
                   Status s)
Specified by:
change in interface NetworkMonitor

change

public void change(NetworkAttrImpl net,
                   Status s)
Specified by:
change in interface NetworkMonitor

change

public void change(Site site,
                   Status s)
Specified by:
change in interface NetworkMonitor