org.openqa.selenium.net
Class OlderWindowsVersionEphemeralPortDetector

java.lang.Object
  extended by org.openqa.selenium.net.OlderWindowsVersionEphemeralPortDetector
All Implemented Interfaces:
EphemeralPortRangeDetector

public class OlderWindowsVersionEphemeralPortDetector
extends Object
implements EphemeralPortRangeDetector


Constructor Summary
OlderWindowsVersionEphemeralPortDetector()
           
 
Method Summary
 int getHighestEphemeralPort()
          Returns the last port that could be searched for free ports
 int getLowestEphemeralPort()
          Returns the first port in the ephemeral range
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OlderWindowsVersionEphemeralPortDetector

public OlderWindowsVersionEphemeralPortDetector()
Method Detail

getLowestEphemeralPort

public int getLowestEphemeralPort()
Description copied from interface: EphemeralPortRangeDetector
Returns the first port in the ephemeral range

Specified by:
getLowestEphemeralPort in interface EphemeralPortRangeDetector
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 interface EphemeralPortRangeDetector
Returns:
The first port that may be free


Copyright © 2012. All Rights Reserved.