Class PortmapLogAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<portmap_log_alert>
com.frostwire.jlibtorrent.alerts.PortmapLogAlert
All Implemented Interfaces:
Alert<portmap_log_alert>

public final class PortmapLogAlert extends AbstractAlert<portmap_log_alert>
This alert is generated to log informational events related to either UPnP or NAT-PMP. They contain a log line and the type (0 = NAT-PMP and 1 = UPnP). Displaying these messages to an end user is only useful for debugging the UPnP or NAT-PMP implementation.
  • Method Details

    • mapType

      public PortmapTransport mapType()
    • logMessage

      public String logMessage()
      The message associated with this log line.
      Returns:
      the log message