|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
threads.InboxThread
public class InboxThread
Thread for the inbox connections
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
InboxClient |
inboxClient
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
InboxThread(boolean pop,
StartMidlet mid)
|
Method Summary | |
---|---|
void |
close()
|
Message |
getMessage(int index)
Get a message |
java.util.Vector |
getMessageList()
Get the list of mails |
void |
removeMessage(int index)
Remove a message |
void |
run()
run thread |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public InboxClient inboxClient
Constructor Detail |
---|
public InboxThread(boolean pop, StartMidlet mid)
Method Detail |
---|
public void close()
public Message getMessage(int index) throws MailException, java.io.IOException
index
-
MailException
java.io.IOException
public java.util.Vector getMessageList() throws MailException, java.io.IOException
MailException
java.io.IOException
public void removeMessage(int index) throws MailException, java.io.IOException
index
-
MailException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |