public class PopConnection extends AbstractConnection
AbstractConnection.LineReaderInputStream, AbstractConnection.StateThread.UncaughtExceptionHandlerclient, in, os, password, session, state, userNameMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
PopConnection(Socket clientSocket)
Initialize the streams and start the thread. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected long | 
getTotalMessagesLength()  | 
protected void | 
printCapabilities()  | 
protected void | 
printList()  | 
protected void | 
printUidList()  | 
void | 
run()  | 
protected void | 
sendERR(Exception e)  | 
protected void | 
sendERR(String message)  | 
protected void | 
sendOK(String message)  | 
close, logConnection, readClient, sendClient, sendClient, sendClient, sendClientactiveCount, 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, yieldpublic PopConnection(Socket clientSocket)
clientSocket - POP client socketprotected long getTotalMessagesLength()
protected void printCapabilities()
                          throws IOException
IOExceptionprotected void printList()
                  throws IOException
IOExceptionprotected void printUidList()
                     throws IOException
IOExceptionprotected void sendOK(String message) throws IOException
IOExceptionprotected void sendERR(Exception e) throws IOException
IOExceptionprotected void sendERR(String message) throws IOException
IOExceptionCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.