ePOST API

rice.email.proxy.imap
Class NonBlockingImapServerImpl

java.lang.Object
  extended by rice.selector.SelectionKeyHandler
      extended by rice.email.proxy.imap.NonBlockingImapServerImpl
All Implemented Interfaces:
ImapServer

public class NonBlockingImapServerImpl
extends SelectionKeyHandler
implements ImapServer


Constructor Summary
NonBlockingImapServerImpl(java.net.InetAddress bindAddress, int port, EmailService email, UserManager manager, boolean gateway, boolean acceptNonLocal, Environment env)
           
 
Method Summary
 void accept(java.nio.channels.SelectionKey key)
          Method which is called when the key becomes acceptable.
 java.net.InetAddress getLocalHost()
           
 int getPort()
           
 void initialize()
           
 void start()
           
 
Methods inherited from class rice.selector.SelectionKeyHandler
connect, modifyKey, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.

ePOST API

Copyright © 2001-2005 - Rice Pastry.