public class PortManager extends Object
Constructor and Description |
---|
PortManager() |
PortManager(int lowerBound,
int upperBound) |
Modifier and Type | Method and Description |
---|---|
void |
free(ServerSocket s) |
int |
getFreePorts() |
int |
getLowerBound() |
ServerSocket |
getServerSocket() |
int |
getUpperBound() |
public PortManager()
public PortManager(int lowerBound, int upperBound)
public ServerSocket getServerSocket() throws IOException
IOException
public void free(ServerSocket s) throws IOException
IOException
public int getLowerBound()
public int getUpperBound()
public int getFreePorts()
Copyright © 2010–2018 UNICORE. All rights reserved.