Package com.elasticinbox.pop3

Examples of com.elasticinbox.pop3.POP3ProxyServer


  {
    Logger logger = new POP3ProtocolLogger();

    POP3ProtocolHandlerChain chain = new POP3ProtocolHandlerChain(new AuthHandler(backend));

    server = new NettyServer(new POP3Protocol(chain, new POP3ServerConfig(), logger));
    server.setListenAddresses(new InetSocketAddress(Configurator.getPop3Port()));
    server.setMaxConcurrentConnections(Configurator.getPop3MaxConnections());
    server.setTimeout(POP3ServerConfig.CONNECTION_TIMEOUT);
    server.setUseExecutionHandler(true, 16);
    server.bind();
View Full Code Here


  public void start() throws Exception
  {
    Logger logger = new POP3ProtocolLogger();

    POP3ProtocolHandlerChain chain = new POP3ProtocolHandlerChain(new AuthHandler(backend));

    server = new NettyServer(new POP3Protocol(chain, new POP3ServerConfig(), logger));
    server.setListenAddresses(new InetSocketAddress(Configurator.getPop3Port()));
    server.setMaxConcurrentConnections(Configurator.getPop3MaxConnections());
    server.setTimeout(POP3ServerConfig.CONNECTION_TIMEOUT);
View Full Code Here

      pLog.setName(SPEED4J_LOG_NAME);
      pLog.setSlf4jLogname("com.elasticinbox.speed4j.pop3.PeriodicalLogger");
      stopWatchFactory = StopWatchFactory.getInstance(pLog);
    }

    backend = new MailboxHandlerFactory();

    logger.debug("Starting POP3 daemon...");
    server = new POP3ProxyServer(backend);
    server.start();
    logger.info("POP3 daemon started.");
View Full Code Here

    this.backend = backend;
  }

  public void start() throws Exception
  {
    Logger logger = new POP3ProtocolLogger();

    POP3ProtocolHandlerChain chain = new POP3ProtocolHandlerChain(new AuthHandler(backend));

    server = new NettyServer(new POP3Protocol(chain, new POP3ServerConfig(), logger));
    server.setListenAddresses(new InetSocketAddress(Configurator.getPop3Port()));
View Full Code Here

TOP

Related Classes of com.elasticinbox.pop3.POP3ProxyServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.