Package freenet.pluginmanager

Examples of freenet.pluginmanager.ForwardPortStatus


  @Override
  public void portForwardStatus(Map<ForwardPort, ForwardPortStatus> statuses) {
    Set<ForwardPort> currentPorts = node.getPublicInterfacePorts();
    for(ForwardPort p : currentPorts) {
      ForwardPortStatus status = statuses.get(p);
      if(status == null) continue;
      if(status.status == ForwardPortStatus.DEFINITE_SUCCESS) {
        Logger.normal(this, "Succeeded forwarding "+p.name+" port "+p.portNumber+" for "+p.protocol+" - port forward definitely succeeded "+status.reasonString);
      } else if(status.status == ForwardPortStatus.PROBABLE_SUCCESS) {
        Logger.normal(this, "Probably succeeded forwarding "+p.name+" port "+p.portNumber+" for "+p.protocol+" - port forward probably succeeded "+status.reasonString);
View Full Code Here

TOP

Related Classes of freenet.pluginmanager.ForwardPortStatus

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.