java.lang.Object
net.i2p.router.transport.UPnPManager.UPnPCallback
- All Implemented Interfaces:
ForwardPortCallback
- Enclosing class:
UPnPManager
This is the callback from UPnP. It calls the TransportManager callbacks.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCallback that relays UPnP port-forward status changes to the transport.Method Summary
Modifier and TypeMethodDescriptionprivate voidlocked_PFS(Map<ForwardPort, ForwardPortStatus> statuses) Logs the port forwarding results, lock held.voidportForwardStatus(Map<ForwardPort, ForwardPortStatus> statuses) Called to indicate status on one or more forwarded ports.
Constructor Details
UPnPCallback
private UPnPCallback()Callback that relays UPnP port-forward status changes to the transport.
Method Details
portForwardStatus
Called to indicate status on one or more forwarded ports.- Specified by:
portForwardStatusin interfaceForwardPortCallback- Parameters:
statuses- the port status map
locked_PFS
Logs the port forwarding results, lock held.- Parameters:
statuses- the results, by port mapping