Package com.google.code.yanf4j.config

Examples of com.google.code.yanf4j.config.Configuration


    int selectorPoolSize = 3;


    @Before
    public void setUp() throws Exception {
        Configuration configuration = new Configuration();
        TCPController controller = new TCPController(configuration);
        this.selectorManager = new SelectorManager(this.selectorPoolSize, controller, configuration);
        this.selectorManager.start();
        controller.setSessionTimeout(1000);
        controller.getConfiguration().setSessionIdleTimeout(1000);
View Full Code Here


  public void setSoTimeout(int timeout) {
    soTimeout = timeout;
  }

  public AbstractController() {
    this(new Configuration(), null, null);
  }
View Full Code Here

TOP

Related Classes of com.google.code.yanf4j.config.Configuration

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.