rice.email.proxy.imap
Class NonBlockingImapServerImpl
java.lang.Object
rice.selector.SelectionKeyHandler
rice.email.proxy.imap.NonBlockingImapServerImpl
-
All Implemented Interfaces:
- ImapServer
-
public class NonBlockingImapServerImpl
- extends SelectionKeyHandler
- implements ImapServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonBlockingImapServerImpl
public NonBlockingImapServerImpl(java.net.InetAddress bindAddress,
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 ImapServer
-
start
public void start()
-
- Specified by:
-
start
in interface ImapServer
-
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.