java.lang.Object
java.lang.Thread
org.rakiura.mbot.LimitThread
- All Implemented Interfaces:
- java.lang.Runnable
- public class LimitThread
- extends java.lang.Thread
Thread for managing +l updates on different channels.
LimitThread.java
Created: Wed Jul 14 16:59:28 1999
- Version:
- 0.3 $Revision: 1.1.1.1 $
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
engine
private Engine engine
limit
private int limit
channels
private java.util.Vector channels
delay
private long delay
current_limit
private java.util.Hashtable current_limit
LimitThread
public LimitThread(Engine engine)
LimitThread
public LimitThread(Engine engine,
java.util.Vector chan)
getLimit
public int getLimit()
- Get the value of limit.
setLimit
public int setLimit(int v)
- Set the value of limit.
getChannels
public java.util.Vector getChannels()
- Get the value of channels.
addChannel
public void addChannel(java.lang.String chan)
removeChannel
public void removeChannel(java.lang.String chan)
getDelay
public long getDelay()
- Get the value of delay.
setDelay
public long setDelay(long v)
- Set the value of delay.
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.