rice.email.proxy.pop3
Class NonBlockingPop3ServerImpl
java.lang.Object
rice.selector.SelectionKeyHandler
rice.email.proxy.pop3.NonBlockingPop3ServerImpl
-
All Implemented Interfaces:
- Pop3Server
-
public class NonBlockingPop3ServerImpl
- extends SelectionKeyHandler
- implements Pop3Server
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
NonBlockingPop3ServerImpl
public NonBlockingPop3ServerImpl(java.net.InetAddress localHost,
int port,
EmailService email,
UserManager manager,
boolean gateway,
boolean acceptNonLocal,
Environment env)
throws java.io.IOException
-
Throws:
java.io.IOException
getLocalHost
public java.net.InetAddress getLocalHost()
-
-
getPort
public int getPort()
-
- Specified by:
-
getPort
in interface Pop3Server
-
start
public void start()
-
- Specified by:
-
start
in interface Pop3Server
-
initialize
public void initialize()
throws java.io.IOException
-
-
-
Throws:
java.io.IOException
accept
public void accept(java.nio.channels.SelectionKey key)
- Description copied from class:
SelectionKeyHandler
- Method which is called when the key becomes acceptable.
-
- Overrides:
-
accept
in class SelectionKeyHandler
-
- Parameters:
-
key
- The key which is acceptable.
Copyright © 2001-2005 - Rice Pastry.