public class LinuxEphemeralPortRangeDetector extends Object implements EphemeralPortRangeDetector
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
|
public static LinuxEphemeralPortRangeDetector getInstance()
public int getLowestEphemeralPort()
EphemeralPortRangeDetector
getLowestEphemeralPort
in interface EphemeralPortRangeDetector
public int getHighestEphemeralPort()
EphemeralPortRangeDetector
getHighestEphemeralPort
in interface EphemeralPortRangeDetector
Copyright © 2013. All rights reserved.