Package org.openqa.selenium.net
Class FixedIANAPortRange
java.lang.Object
org.openqa.selenium.net.FixedIANAPortRange
- All Implemented Interfaces:
EphemeralPortRangeDetector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the last port that could be searched for free portsint
Returns the first port in the ephemeral range
-
Constructor Details
-
FixedIANAPortRange
public FixedIANAPortRange()
-
-
Method Details
-
getLowestEphemeralPort
public int getLowestEphemeralPort()Description copied from interface:EphemeralPortRangeDetector
Returns the first port in the ephemeral range- Specified by:
getLowestEphemeralPort
in interfaceEphemeralPortRangeDetector
- Returns:
- The first ephemeral port
-
getHighestEphemeralPort
public int getHighestEphemeralPort()Description copied from interface:EphemeralPortRangeDetector
Returns the last port that could be searched for free ports- Specified by:
getHighestEphemeralPort
in interfaceEphemeralPortRangeDetector
- Returns:
- The first port that may be free
-