Package freenet.pluginmanager

Examples of freenet.pluginmanager.ForwardPort


   * @return A Set of ForwardPort's to be fed to port forward plugins.
   */
  public Set<ForwardPort> getPublicInterfacePorts() {
    HashSet<ForwardPort> set = new HashSet<ForwardPort>();
    // FIXME IPv6 support
    set.add(new ForwardPort("darknet", false, ForwardPort.PROTOCOL_UDP_IPV4, darknetCrypto.portNumber));
    if(opennet != null) {
      NodeCrypto crypto = opennet.crypto;
      if(crypto != null) {
        set.add(new ForwardPort("opennet", false, ForwardPort.PROTOCOL_UDP_IPV4, crypto.portNumber));
      }
    }
    return set;
  }
View Full Code Here

TOP

Related Classes of freenet.pluginmanager.ForwardPort

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.