java.lang.Object
java.lang.Thread
org.mrbook.mrpostman.pop.PopServer
- All Implemented Interfaces:
- java.lang.Runnable
- public class PopServer
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
CVSID
public static final java.lang.String CVSID
- See Also:
- Constant Field Values
logger
private static java.util.logging.Logger logger
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
DEFAULT_BUFFERLENGTH
public static final int DEFAULT_BUFFERLENGTH
- See Also:
- Constant Field Values
DEFAULT_MAXIMUM_THREADS
public static final int DEFAULT_MAXIMUM_THREADS
- See Also:
- Constant Field Values
DEFAULT_MINIMUM_THREADS
public static final int DEFAULT_MINIMUM_THREADS
- See Also:
- Constant Field Values
DEFAULT_KEEPALIVE
public static final int DEFAULT_KEEPALIVE
- See Also:
- Constant Field Values
port
protected int port
listenSocket
protected java.net.ServerSocket listenSocket
executor
private EDU.oswego.cs.dl.util.concurrent.Executor executor
carryon
public boolean carryon
PopServer
public PopServer(int port)
throws java.io.IOException
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
isSocketAllowed
private boolean isSocketAllowed(java.net.Socket socket)
shutdown
public void shutdown()