MockNetworkParameters.<init> - corda

corda / net.corda.testing.node / MockNetworkParameters / <init>

# <init>

`MockNetworkParameters(networkSendManuallyPumped: Boolean, threadPerNode: Boolean, servicePeerAllocationStrategy: ServicePeerAllocationStrategy, notarySpecs: List<MockNetworkNotarySpec>, networkParameters: NetworkParameters)`
`MockNetworkParameters(cordappsForAllNodes: Collection<TestCordapp>)` `MockNetworkParameters(networkSendManuallyPumped: Boolean = false, threadPerNode: Boolean = false, servicePeerAllocationStrategy: ServicePeerAllocationStrategy = InMemoryMessagingNetwork.ServicePeerAllocationStrategy.Random(), notarySpecs: List<MockNetworkNotarySpec> = listOf(MockNetworkNotarySpec(DUMMY_NOTARY_NAME)), networkParameters: NetworkParameters = testNetworkParameters(), cordappsForAllNodes: Collection<TestCordapp> = emptyList())`

Immutable builder for configuring a MockNetwork.