@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);