public class ForwardPort
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
isIP6
IPv4 vs IPv6?
|
java.lang.String |
name
Name of the interface e.g.
|
int |
portNumber
Port number to forward
|
int |
protocol
Protocol number.
|
static int |
PROTOCOL_TCP_IPV4 |
static int |
PROTOCOL_UDP_IPV4 |
Constructor and Description |
---|
ForwardPort(java.lang.String name,
boolean isIP6,
int protocol,
int portNumber) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public final java.lang.String name
public final boolean isIP6
public final int protocol
public static final int PROTOCOL_UDP_IPV4
public static final int PROTOCOL_TCP_IPV4
public final int portNumber