protected static class EmailConnector.GetMessagesThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Throwable |
exception |
protected javax.mail.Folder |
folder |
protected javax.mail.Message[] |
messages |
protected EmailSession |
session |
| Constructor and Description |
|---|
GetMessagesThread(EmailSession session,
javax.mail.Folder folder) |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Message[] |
finishUp() |
void |
run() |
activeCount, checkAccess, clone, 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, yieldprotected final EmailSession session
protected final javax.mail.Folder folder
protected javax.mail.Message[] messages
protected java.lang.Throwable exception
public GetMessagesThread(EmailSession session, javax.mail.Folder folder)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic javax.mail.Message[] finishUp()
throws javax.mail.MessagingException,
java.lang.InterruptedException
javax.mail.MessagingExceptionjava.lang.InterruptedException