public class PopConnection extends AbstractConnection
AbstractConnection.LineReaderInputStream, AbstractConnection.State
Thread.UncaughtExceptionHandler
client, in, os, password, session, state, userName
MAX_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, sendClient
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
public PopConnection(Socket clientSocket)
clientSocket
- POP client socketprotected long getTotalMessagesLength()
protected void printCapabilities() throws IOException
IOException
protected void printList() throws IOException
IOException
protected void printUidList() throws IOException
IOException
protected void sendOK(String message) throws IOException
IOException
protected void sendERR(Exception e) throws IOException
IOException
protected void sendERR(String message) throws IOException
IOException
Copyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.