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