@DoNotImplement public class PortAllocation
public static int DEFAULT_START_PORT
public static int FIRST_EPHEMERAL_PORT
public static net.corda.testing.driver.PortAllocation.Companion Companion
@NotNull public NetworkHostAndPort nextHostAndPort()
Get the next available port via nextPort
and then return a class NetworkHostAndPort
nextPort
,
class NetworkHostAndPort
public int nextPort()
@NotNull public static PortAllocation getDefaultAllocator()