mirror of
https://github.com/corda/corda.git
synced 2025-01-18 18:56:28 +00:00
Clarifying the need for a single Party c'tor for InitiatedBy flows
This commit is contained in:
parent
177f591e57
commit
54aa4802f9
@ -4,8 +4,10 @@ import kotlin.annotation.AnnotationTarget.CLASS
|
|||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This annotation is required by any [FlowLogic] that is designed to be initiated by a counterparty flow. The flow that
|
* This annotation is required by any [FlowLogic] that is designed to be initiated by a counterparty flow. The class must
|
||||||
* does the initiating is specified by the [value] property and itself must be annotated with [InitiatingFlow].
|
* have at least a constructor which takes in a single [net.corda.core.identity.Party] parameter which represents the
|
||||||
|
* initiating counterparty. The [FlowLogic] that does the initiating is specified by the [value] property and itself must be annotated
|
||||||
|
* with [InitiatingFlow].
|
||||||
*
|
*
|
||||||
* The node on startup scans for [FlowLogic]s which are annotated with this and automatically registers the initiating
|
* The node on startup scans for [FlowLogic]s which are annotated with this and automatically registers the initiating
|
||||||
* to initiated flow mapping.
|
* to initiated flow mapping.
|
||||||
|
Loading…
Reference in New Issue
Block a user