001    package org.hackystat.tickertape.ticker;
002    
003    import java.util.logging.Logger;
004    
005    import org.hackystat.tickertape.tickerlingua.TickerLingua;
006    import org.hackystat.tickertape.tickerlingua.Tickertape;
007    
008    /**
009     * The interface that all Tickers must implement.
010     * @author Philip Johnson
011     *
012     */
013    public interface Ticker {
014      
015      /**
016       * Invoked each time the ticker task wakes up.
017       * @param tickertape The tickertape indicating what to do.
018       * @param tickerLingua The tickerlingua instance with global data. 
019       * @param logger The logger.
020       */
021      public void run(Tickertape tickertape, TickerLingua tickerLingua, Logger logger);
022    
023    }