corda / net.corda.testing.driver / PortAllocation

PortAllocation

@DoNotImplement abstract class PortAllocation

Types

Incremental

open class Incremental : PortAllocation

Constructors

<init>

PortAllocation()

Functions

nextHostAndPort

fun nextHostAndPort(): NetworkHostAndPort

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

nextPort

abstract fun nextPort(): Int

Companion Object Properties

DEFAULT_START_PORT

const val DEFAULT_START_PORT: Int

FIRST_EPHEMERAL_PORT

const val FIRST_EPHEMERAL_PORT: Int

defaultAllocator

val defaultAllocator: PortAllocation

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

Incremental

open class Incremental : PortAllocation