public static class TwoPartyDealFlow.Instigator
One side of the flow for inserting a pre-agreed deal.
public Instigator(@NotNull
FlowSession otherSideSession,
@NotNull
net.corda.finance.flows.TwoPartyDealFlow.AutoOffer payload,
@NotNull
ProgressTracker progressTracker)
One side of the flow for inserting a pre-agreed deal.
progressTracker - Override this to provide a class 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.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
@NotNull public Party getNotaryParty()
@Suspendable
public void checkProposal(@NotNull
SignedTransaction stx)
@NotNull public FlowSession getOtherSideSession()
@NotNull public net.corda.finance.flows.TwoPartyDealFlow.AutoOffer getPayload()
@NotNull public ProgressTracker getProgressTracker()
Override this to provide a class 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.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
class ProgressTracker