org.walluck.oscar
Class RateClearTask
java.lang.Object
java.util.TimerTask
org.walluck.oscar.RateClearTask
- All Implemented Interfaces:
- Runnable
public class RateClearTask
- extends 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. |
Method Summary |
void |
run()
The run method for the rate clear task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIME
public static final int TIME
- The sleep time for this task.
- See Also:
- Constant Field Values
RateClearTask
public RateClearTask(AIMConnection conn)
- Creates a new rate clear task.
- Parameters:
conn
- the bos connection for this session
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.
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask