de.nava.informa.utils
Class UpdateChannelTask

java.lang.Object
  extended by java.util.TimerTask
      extended by de.nava.informa.utils.UpdateChannelTask
All Implemented Interfaces:
Runnable

public class UpdateChannelTask
extends TimerTask

Class for performing a channel retrieval in periodic intervals as a TimerTask. The existing items of a channel are compared to the items contained in the newly gotten channel, and if there are any new items they are appended.

Author:
Niko Schmuck (niko@nava.de)

Constructor Summary
UpdateChannelTask(ChannelRegistry registry, ChannelBuilderIF builder, ChannelIF channel, UpdateChannelInfo info)
           
 
Method Summary
 void run()
           
 
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

UpdateChannelTask

public UpdateChannelTask(ChannelRegistry registry,
                         ChannelBuilderIF builder,
                         ChannelIF channel,
                         UpdateChannelInfo info)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.