|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread rice.email.proxy.web.WebServerImpl
public class WebServerImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected EmailService |
email
|
protected Environment |
environment
|
protected Logger |
logger
|
protected UserManager |
manager
|
protected int |
port
|
protected boolean |
quit
|
protected java.net.ServerSocket |
server
|
protected java.util.HashMap |
states
|
protected Workspace |
workspace
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
WebServerImpl(int port,
EmailService email,
UserManager manager,
Environment env)
|
Method Summary | |
---|---|
int |
getPort()
|
protected WebState |
getWebState(java.net.InetAddress address)
|
void |
initialize()
|
void |
run()
|
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 |
Methods inherited from interface rice.email.proxy.web.WebServer |
---|
start |
Field Detail |
---|
protected boolean quit
protected int port
protected java.net.ServerSocket server
protected UserManager manager
protected Workspace workspace
protected EmailService email
protected Environment environment
protected Logger logger
protected java.util.HashMap states
Constructor Detail |
---|
public WebServerImpl(int port, EmailService email, UserManager manager, Environment env) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getPort()
getPort
in interface WebServer
public void initialize() throws java.io.IOException
java.io.IOException
protected WebState getWebState(java.net.InetAddress address)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |