public class LinuxEphemeralPortRangeDetector extends java.lang.Object implements EphemeralPortRangeDetector
Modifier and Type | Field and Description |
---|---|
(package private) int |
firstEphemeralPort |
(package private) int |
lastEphemeralPort |
Constructor and Description |
---|
LinuxEphemeralPortRangeDetector(java.io.Reader inputFil) |
Modifier and Type | Method and Description |
---|---|
int |
getHighestEphemeralPort()
Returns the last port that could be searched for free ports
|
static LinuxEphemeralPortRangeDetector |
getInstance() |
int |
getLowestEphemeralPort()
Returns the first port in the ephemeral range
|
final int firstEphemeralPort
final int lastEphemeralPort
LinuxEphemeralPortRangeDetector(java.io.Reader inputFil)
public static LinuxEphemeralPortRangeDetector getInstance()
public int getLowestEphemeralPort()
EphemeralPortRangeDetector
getLowestEphemeralPort
in interface EphemeralPortRangeDetector
public int getHighestEphemeralPort()
EphemeralPortRangeDetector
getHighestEphemeralPort
in interface EphemeralPortRangeDetector