Package org.openqa.selenium.net
Class OlderWindowsVersionEphemeralPortDetector
- java.lang.Object
-
- org.openqa.selenium.net.OlderWindowsVersionEphemeralPortDetector
-
- All Implemented Interfaces:
EphemeralPortRangeDetector
public class OlderWindowsVersionEphemeralPortDetector extends java.lang.Object implements EphemeralPortRangeDetector
-
-
Constructor Summary
Constructors Constructor Description OlderWindowsVersionEphemeralPortDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHighestEphemeralPort()
Returns the last port that could be searched for free portsint
getLowestEphemeralPort()
Returns the first port in the ephemeral range
-
-
-
Method Detail
-
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
-
-