public class ServerPortUtilsImpl extends java.lang.Object implements ServerPortUtils
Constructor and Description |
---|
ServerPortUtilsImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getFreePort() |
public int getFreePort() throws java.io.IOException
getFreePort
in interface ServerPortUtils
java.io.IOException
- if an I/O error occurs when opening the socket