public interface FredPluginPortForward
Modifier and Type | Method and Description |
---|---|
void |
onChangePublicPorts(java.util.Set<ForwardPort> ports,
ForwardPortCallback cb)
Called when Fred's list of public ports changes, and just after loading the
plugin.
|
void onChangePublicPorts(java.util.Set<ForwardPort> ports, ForwardPortCallback cb)
ports
- The set of ports that need to be forwarded from the outside
world through the NAT or firewall.cb
- Callback to be called with success/failure of each forward. Some
plugins may return a probabilistic success e.g. with UP&P.