Class PortMapper

  • All Implemented Interfaces:

    public class PortMapper
    extends SimpleInboundHandler<AddressedByteBuf,​Address>
    This handler tries to create a port forwarding for the UDP server using different methods (PCP, NAT-PMP, UPnP-IGD, etc.). For this purpose, the individual methods are tried one after one. If all methods fail, the program waits for RETRY_DELAY and then tries all methods again. It never gives up.