|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freenetproject.ForwardPort
public class ForwardPort
A public Internet Protocol port on the node which needs to be forwarded if the node is NATed.
Field Summary | |
---|---|
boolean |
isIP6
IPv4 vs IPv6? |
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 Summary | |
---|---|
ForwardPort(String name,
boolean isIP6,
int protocol,
int portNumber)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final 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
Constructor Detail |
---|
public ForwardPort(String name, boolean isIP6, int protocol, int portNumber)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |