com.uwyn.drone.core
Class BotsRunner
java.lang.Object
java.lang.Thread
com.uwyn.drone.core.BotsRunner
- All Implemented Interfaces:
- BotListener, Runnable
- public class BotsRunner
- extends Thread
- implements BotListener
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
BotsRunner
public BotsRunner(Collection bots)
getRepInstance
public static BotsRunner getRepInstance()
getBots
public Collection getBots()
run
public void run()
- Specified by:
run
in interface Runnable
loggedOff
public void loggedOff(Bot bot)
- Specified by:
loggedOff
in interface BotListener
loggedOn
public void loggedOn(Bot bot)
- Specified by:
loggedOn
in interface BotListener
nickChanged
public void nickChanged(Bot bot)
- Specified by:
nickChanged
in interface BotListener
nickInUse
public void nickInUse(Bot bot,
String nick)
- Specified by:
nickInUse
in interface BotListener
connectionError
public void connectionError(Bot bot,
Throwable e)
- Specified by:
connectionError
in interface BotListener
addBotsRunnerListener
public boolean addBotsRunnerListener(BotsRunnerListener listener)
removeBotsRunnerListener
public boolean removeBotsRunnerListener(BotsRunnerListener listener)
Copyright © 2002-2005 Uwyn bvba/sprl. All Rights Reserved.