protected static class EmailConnector.ConnectThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Throwable |
exception |
protected java.lang.String |
password |
protected int |
port |
protected java.util.Properties |
properties |
protected java.lang.String |
protocol |
protected java.lang.String |
server |
protected EmailSession |
session |
protected java.lang.String |
username |
| Constructor and Description |
|---|
ConnectThread(java.lang.String server,
int port,
java.lang.String username,
java.lang.String password,
java.lang.String protocol,
java.util.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, yieldprotected final java.lang.String server
protected final int port
protected final java.lang.String username
protected final java.lang.String password
protected final java.lang.String protocol
protected final java.util.Properties properties
protected EmailSession session
protected java.lang.Throwable exception
public ConnectThread(java.lang.String server,
int port,
java.lang.String username,
java.lang.String password,
java.lang.String protocol,
java.util.Properties properties)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic EmailSession finishUp() throws javax.mail.MessagingException, java.lang.InterruptedException
javax.mail.MessagingExceptionjava.lang.InterruptedException