public class PooledPort extends Port
Constructor and Description |
---|
PooledPort(PooledPortType portType,
int selectedPort,
PortAllocationManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Frees the port.
|
int |
get()
Gets the TCP port number.
|
public PooledPort(PooledPortType portType, int selectedPort, PortAllocationManager manager)
public int get()
Port
public void cleanUp() throws IOException, InterruptedException
Port
cleanUp
in class Port
IOException
InterruptedException
Copyright © 2016–2023. All rights reserved.