Package freenet.io

Examples of freenet.io.NetworkInterface


  }

  private void maybeGetNetworkInterface() {
    if (this.networkInterface!=null) return;

    NetworkInterface tempNetworkInterface = null;
    try {
      if(ssl) {
        tempNetworkInterface = SSLNetworkInterface.create(port, bindTo, allowedHosts, node.executor, true);
      } else {
        tempNetworkInterface = NetworkInterface.create(port, bindTo, allowedHosts, node.executor, true);
View Full Code Here


    @Override
    public String get() {
      FCPServer server = node.getFCPServer();
      if(server == null) return NetworkInterface.DEFAULT_BIND_TO;
      NetworkInterface netIface = server.networkInterface;
      return (netIface == null ? NetworkInterface.DEFAULT_BIND_TO : netIface.getAllowedHosts());
    }
View Full Code Here

TOP

Related Classes of freenet.io.NetworkInterface

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.