protected static class EmailConnector.SearchMessagesThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected Throwable |
exception |
protected javax.mail.Folder |
folder |
protected javax.mail.Message[] |
messages |
protected javax.mail.search.SearchTerm |
searchTerm |
protected EmailSession |
session |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
EmailConnector.SearchMessagesThread(EmailSession session,
javax.mail.Folder folder,
javax.mail.search.SearchTerm searchTerm) |
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, yield
protected final EmailSession session
protected final javax.mail.Folder folder
protected final javax.mail.search.SearchTerm searchTerm
protected javax.mail.Message[] messages
protected Throwable exception
public EmailConnector.SearchMessagesThread(EmailSession session, javax.mail.Folder folder, javax.mail.search.SearchTerm searchTerm)
public javax.mail.Message[] finishUp() throws javax.mail.MessagingException, InterruptedException
javax.mail.MessagingException
InterruptedException