twcore.core
Class MessageLimiter
java.lang.Object
|
+--twcore.core.MessageLimiter
- public class MessageLimiter
- extends java.lang.Object
Constructor Summary |
MessageLimiter(twcore.core.BotAction botAction,
twcore.core.SubspaceBot bot,
int rate)
Creates a new instance of MessageLimiter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageLimiter
public MessageLimiter(twcore.core.BotAction botAction,
twcore.core.SubspaceBot bot,
int rate)
- Creates a new instance of MessageLimiter
handleEvent
public void handleEvent(twcore.core.Message event)
reduce
public void reduce(long difference)
recordTime
public void recordTime(java.lang.String name)