Class UPnP.IPv6ForwardPort

  • Enclosing class:
    UPnP

    static class UPnP.IPv6ForwardPort
    extends ForwardPort
    Extended to store the requested IP to be forwarded.
    Since:
    0.9.50
    • Constructor Detail

      • IPv6ForwardPort

        public IPv6ForwardPort​(String name,
                               int protocol,
                               int port,
                               String ip)
        Parameters:
        ip - the IPv6 address being forwarded, non-null
    • Method Detail

      • getIP

        public String getIP()
      • getUID

        public int getUID()
        Returns:
        0-65535 or -1 if unset
      • setUID

        public void setUID​(int uid)
        Parameters:
        uid - 0-65535
      • getExpiration

        public long getExpiration()
        Returns:
        absolute time or 0 if unset
      • setExpiration

        public void setExpiration​(long expires)
        Parameters:
        expires - absolute time