edu.ufl.osg.httppoll
Class Task

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--edu.ufl.osg.httppoll.Task
All Implemented Interfaces:
java.lang.Runnable

public class Task
extends java.util.TimerTask

Performs the website polling, at an interval configured by the user. If a problem is found with a website, this Class activates whatever alerts the user has specified.


Constructor Summary
Task(ConfigReader config)
           
 
Method Summary
 void run()
          Loop through each target specified in the XML configuration file, performing a poll (and any necessary alerts) for each one.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task(ConfigReader config)
Method Detail

run

public void run()
Loop through each target specified in the XML configuration file, performing a poll (and any necessary alerts) for each one.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask