corda / net.corda.testing.flows

Package net.corda.testing.flows

Extensions for External Classes

kotlin.collections.Map

kotlin.reflect.KClass

net.corda.testing.node.internal.TestStartedNode

Functions

from

Creates a [Pair(session, Class)] from this Class.

infix fun <T : Class<out Any>> T.from(session: FlowSession): Pair<FlowSession, T>

receiveAll

Suspends until a message has been received for each session in the specified sessions.

fun FlowLogic<*>.receiveAll(session: Pair<FlowSession, Class<out Any>>, vararg sessions: Pair<FlowSession, Class<out Any>>): Map<FlowSession, UntrustworthyData<Any>>
fun <R : Any> FlowLogic<*>.receiveAll(receiveType: Class<R>, session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>>
fun <R : Any> FlowLogic<*>.receiveAll(session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>>