|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.elite.jdcbot.framework.BotEventDispatchThread
public class BotEventDispatchThread
Created on 31-May-08
Nested Class Summary | |
---|---|
private class |
BotEventDispatchThread.DispatchEntity
|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private jDCBot |
_bot
|
private java.util.List<BotEventDispatchThread.DispatchEntity> |
dispatch
|
private int |
ON_DOWNLOAD_COMPLETE
|
private int |
ON_UPDATE_MY_INFO
|
private int |
ON_UPLOAD_COMPLETE
|
private int |
ON_UPLOAD_START
|
private boolean |
running
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
BotEventDispatchThread(jDCBot bot)
|
Method Summary | |
---|---|
(package private) void |
callOnDownloadComplete(User user,
DUEntity due,
boolean success,
BotException e)
|
(package private) void |
callOnUpdateMyInfo(java.lang.String user)
|
(package private) void |
callOnUploadComplete(User user,
DUEntity due,
boolean success,
BotException e)
|
(package private) void |
callOnUploadStart(User user,
DUEntity due)
|
private java.lang.Object |
getArg(java.lang.Object[] args,
int i)
|
void |
run()
|
void |
stopIt()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final int ON_DOWNLOAD_COMPLETE
private final int ON_UPLOAD_COMPLETE
private final int ON_UPLOAD_START
private final int ON_UPDATE_MY_INFO
private java.util.List<BotEventDispatchThread.DispatchEntity> dispatch
private volatile boolean running
private jDCBot _bot
Constructor Detail |
---|
public BotEventDispatchThread(jDCBot bot)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private java.lang.Object getArg(java.lang.Object[] args, int i)
void callOnDownloadComplete(User user, DUEntity due, boolean success, BotException e)
void callOnUploadComplete(User user, DUEntity due, boolean success, BotException e)
void callOnUploadStart(User user, DUEntity due)
void callOnUpdateMyInfo(java.lang.String user)
public void stopIt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |