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