static class UPnP.IPv6ForwardPort extends ForwardPort
isIP6, name, portNumber, protocol, PROTOCOL_TCP_IPV4, PROTOCOL_UDP_IPV4| Constructor and Description |
|---|
IPv6ForwardPort(String name,
int protocol,
int port,
String ip)Port forwarding entry for the given IPv6 address. |
| Modifier and Type | Method and Description |
|---|---|
boolean | equals(Object o)Ignores UID |
long | getExpiration()Expiration time of the pinhole. |
String | getIP()The forwarded IPv6 address. |
int | getUID()Unique ID of the pinhole. |
int | hashCode()The hash code for this forward port. |
void | setExpiration(long expires)Expiration time of the pinhole. |
void | setUID(int uid)Unique ID of the pinhole. |
String | toString()String representation of this forward port. |
public boolean equals(Object o)
equals in class ForwardPortpublic long getExpiration()
public String getIP()
public int getUID()
public int hashCode()
hashCode in class ForwardPortpublic void setExpiration(long expires)
expires - absolute timepublic void setUID(int uid)
uid - 0-65535