corda / net.corda.finance.flows / TwoPartyDealFlow / Instigator

Instigator

class Instigator : Primary

One side of the flow for inserting a pre-agreed deal.

Constructors

<init>

One side of the flow for inserting a pre-agreed deal.

Instigator(otherSideSession: FlowSession, payload: AutoOffer, progressTracker: ProgressTracker = Primary.tracker())

Properties

notaryParty

open val notaryParty: Party

otherSideSession

open val otherSideSession: FlowSession

payload

open val payload: AutoOffer

progressTracker

Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something helpful with the progress reports e.g record to the audit service. If this flow is invoked as a subflow of another, then the tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track progress.

open val progressTracker: ProgressTracker

Functions

checkProposal

open fun checkProposal(stx: SignedTransaction): Unit