protected static class EmailConnector.ConnectThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected Throwable |
exception |
protected String |
password |
protected int |
port |
protected Properties |
properties |
protected String |
protocol |
protected String |
server |
protected EmailSession |
session |
protected String |
username |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
EmailConnector.ConnectThread(String server,
int port,
String username,
String password,
String protocol,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
EmailSession |
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 String server
protected final int port
protected final String username
protected final String password
protected final String protocol
protected final Properties properties
protected EmailSession session
protected Throwable exception
public EmailConnector.ConnectThread(String server, int port, String username, String password, String protocol, Properties properties)
public EmailSession finishUp() throws javax.mail.MessagingException, InterruptedException
javax.mail.MessagingException
InterruptedException