public abstract class Port extends Object
Modifier and Type | Field and Description |
---|---|
PortType |
type
PortType that created this port. |
Modifier and Type | Method and Description |
---|---|
abstract void |
cleanUp()
Frees the port.
|
abstract int |
get()
Gets the TCP port number.
|
protected Port(PortType type)
public abstract int get()
public abstract void cleanUp() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016–2023. All rights reserved.