|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.calfater.mailcarbon.impl.ClearMailbox
public class ClearMailbox
A thread which clean a mailbox.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ClearMailbox(Logger logger)
The constructor. |
|
| Method Summary | |
|---|---|
void |
run()
|
void |
setHost(java.lang.String host)
Set the host. |
void |
setPassword(java.lang.String password)
Set the password. |
void |
setPort(int port)
Set the port. |
void |
setProtocol(java.lang.String protocol)
Set the protocol. |
void |
setUsername(java.lang.String username)
Set the username. |
| 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 |
| Constructor Detail |
|---|
public ClearMailbox(Logger logger)
logger - Where should be written the output.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic final void setProtocol(java.lang.String protocol)
protocol - See MailConstant.public final void setHost(java.lang.String host)
host - The host name.public final void setPort(int port)
port - The port number.public final void setUsername(java.lang.String username)
username - The user login.public final void setPassword(java.lang.String password)
password - The user password.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||