corda / net.corda.testing.driver / PortAllocation

PortAllocation

@DoNotImplement abstract class PortAllocation

Types

Incremental

open class Incremental : PortAllocation

Constructors

<init>

PortAllocation()

Functions

nextHostAndPort

Get the next available port via nextPort and then return a NetworkHostAndPort

fun nextHostAndPort(): NetworkHostAndPort

nextPort

abstract fun nextPort(): Int

Companion Object Properties

DEFAULT_START_PORT

const val DEFAULT_START_PORT: Int

defaultAllocator

val defaultAllocator: PortAllocation

FIRST_EPHEMERAL_PORT

const val FIRST_EPHEMERAL_PORT: Int