Package org.freenetproject
Class ForwardPortStatus
java.lang.Object
org.freenetproject.ForwardPortStatus
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The port forward definitely failed.static final int
The port forward definitely succeeded.final int
Some plugins may need to change the external port.static final int
The port forward is in progressstatic final int
The port forward may have succeeded.static final int
The port forward probably failedstatic final int
The port forward probably succeeded.final String
final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
status
public final int status -
DEFINITE_SUCCESS
public static final int DEFINITE_SUCCESSThe port forward definitely succeeded.- See Also:
-
PROBABLE_SUCCESS
public static final int PROBABLE_SUCCESSThe port forward probably succeeded. I.e. it succeeded unless there was for example hostile action on the part of the router.- See Also:
-
MAYBE_SUCCESS
public static final int MAYBE_SUCCESSThe port forward may have succeeded. Or it may not have. We should definitely try to check out of band. See UP&P: Many routers say they've forwarded the port when they haven't.- See Also:
-
IN_PROGRESS
public static final int IN_PROGRESSThe port forward is in progress- See Also:
-
PROBABLE_FAILURE
public static final int PROBABLE_FAILUREThe port forward probably failed- See Also:
-
DEFINITE_FAILURE
public static final int DEFINITE_FAILUREThe port forward definitely failed.- See Also:
-
reasonString
-
externalPort
public final int externalPortSome plugins may need to change the external port. They can return it to the node here.
-
-
Constructor Details
-
ForwardPortStatus
-