org.hackystat.tickertape.server
Class TickertapeTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.hackystat.tickertape.server.TickertapeTask
All Implemented Interfaces:
java.lang.Runnable

public class TickertapeTask
extends java.util.TimerTask

A TimerTask that supports the periodic running of a Tickertape instance.

Author:
Philip Johnson

Constructor Summary
TickertapeTask(Tickertape tickertape, TickerLingua tickerLingua, java.util.logging.Logger logger)
          Creates a new task that will execute the associated tickertape processing.
 
Method Summary
 void run()
          When this task wakes up, it will invoke the Ticker from this Tickertape instance.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TickertapeTask

public TickertapeTask(Tickertape tickertape,
                      TickerLingua tickerLingua,
                      java.util.logging.Logger logger)
Creates a new task that will execute the associated tickertape processing.

Parameters:
tickertape - The tickertape definition.
tickerLingua - The tickerLingua definition.
logger - The logger.
Method Detail

run

public void run()
When this task wakes up, it will invoke the Ticker from this Tickertape instance.

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