public static class TwoPartyDealFlow.Acceptor
extends Secondary
One side of the flow for inserting a pre-agreed deal.
Secondary.Companion
Companion
Constructor and Description |
---|
Acceptor(FlowSession otherSideSession,
ProgressTracker progressTracker)
One side of the flow for inserting a pre-agreed deal.
|
Modifier and Type | Method and Description |
---|---|
NonExistentClass |
assembleSharedTX(TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> handshake) |
FlowSession |
getOtherSideSession() |
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. |
TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> |
validateHandshake(TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> handshake) |
assembleSharedTX, call, getOtherSideSession, getProgressTracker, validateHandshake
await, await, call, checkFlowIsNotKilled, checkFlowIsNotKilled, checkFlowPermission, close, flowStackSnapshot, getFlowInfo, getLogger, getOurIdentity, getOurIdentityAndCert, getProgressTracker, getRunId, getServiceHub, initiateFlow, initiateFlow, isKilled, persistFlowStackSnapshot, receive, receiveAll, receiveAllMap, recordAuditEvent, send, sendAll, sendAllMap, sendAndReceive, subFlow, track, trackStepsTree, trackStepsTreeIndex, waitForLedgerCommit, waitForStateConsumption
public Acceptor(FlowSession otherSideSession, 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.
public TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> validateHandshake(TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> handshake)
public NonExistentClass assembleSharedTX(TwoPartyDealFlow.Handshake<net.corda.finance.flows.TwoPartyDealFlow.AutoOffer> handshake)
public FlowSession getOtherSideSession()
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