Package com.google.code.hs4j.network.config

Examples of com.google.code.hs4j.network.config.Configuration


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

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


    map.put(StandardSocketOption.SO_REUSEADDR, true);
    return map;
  }

  public static final Configuration getDefaultConfiguration() {
    final Configuration configuration = new Configuration();
    configuration
        .setSessionReadBufferSize(HSClient.DEFAULT_SESSION_READ_BUFF_SIZE);
    configuration.setReadThreadCount(HSClient.DEFAULT_READ_THREAD_COUNT);
    configuration.setSessionIdleTimeout(-1);
    configuration.setWriteThreadCount(0);
    return configuration;
  }
View Full Code Here

TOP

Related Classes of com.google.code.hs4j.network.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.