corda / net.corda.testing.node / UnstartedMockNode

UnstartedMockNode

class UnstartedMockNode

A class that represents an unstarted mock node for testing.

Properties

id

val id: Int

An identifier for the node. By default this is allocated sequentially in a MockNetwork

Functions

start

fun start(): StartedMockNode

Start the node

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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