org.walluck.oscar
Class RateClearTask

java.lang.Object
  extended byjava.util.TimerTask
      extended byorg.walluck.oscar.RateClearTask
All Implemented Interfaces:
java.lang.Runnable

public class RateClearTask
extends java.util.TimerTask

This task clears any rates that need clearing. This gets called once every minute.

Since:
1.0
Version:
1.0
Author:
David Walluck

Field Summary
static int TIME
          The sleep time for this task.
 
Constructor Summary
RateClearTask(AIMConnection conn)
          Creates a new rate clear task.
 
Method Summary
 void run()
          The run method for the rate clear task.
 
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
 

Field Detail

TIME

public static final int TIME
The sleep time for this task.

See Also:
Constant Field Values
Constructor Detail

RateClearTask

public RateClearTask(AIMConnection conn)
Creates a new rate clear task.

Parameters:
conn - the bos connection for this session
Method Detail

run

public void run()
The run method for the rate clear task. Clears any rates that need clearing, and updates the rates of every tool.