Package org.freenetproject
Class ForwardPort
java.lang.Object
org.freenetproject.ForwardPort
- Direct Known Subclasses:
UPnP.IPv6ForwardPort
A public Internet Protocol port on the node which needs to be forwarded if the
node is NATed.
- Author:
- toad
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
IPv4 vs IPv6?final String
Name of the interface e.g.final int
Port number to forwardfinal int
Protocol number.static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
Name of the interface e.g. "opennet" -
isIP6
public final boolean isIP6IPv4 vs IPv6? -
protocol
public final int protocolProtocol number. See constants. -
PROTOCOL_UDP_IPV4
public static final int PROTOCOL_UDP_IPV4- See Also:
-
PROTOCOL_TCP_IPV4
public static final int PROTOCOL_TCP_IPV4- See Also:
-
portNumber
public final int portNumberPort number to forward
-
-
Constructor Details
-
ForwardPort
-
-
Method Details