public static class TwoPartyDealFlow.Secondary<U> extends FlowLogic<T>
Abstracted bilateral deal flow participant that is recipient of initial communication.
Modifier and Type | Class and Description |
---|---|
static class |
Secondary.Companion |
Modifier and Type | Field and Description |
---|---|
static Secondary.Companion |
Companion |
Constructor and Description |
---|
Secondary(ProgressTracker progressTracker)
Abstracted bilateral deal flow participant that is recipient of initial communication.
|
Secondary()
Abstracted bilateral deal flow participant that is recipient of initial communication.
|
Modifier and Type | Method and Description |
---|---|
NonExistentClass |
assembleSharedTX(TwoPartyDealFlow.Handshake<? extends U> handshake) |
SignedTransaction |
call()
This is where you fill out your business logic.
|
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<U> |
validateHandshake(TwoPartyDealFlow.Handshake<? extends U> handshake) |
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 static Secondary.Companion Companion
public Secondary(ProgressTracker progressTracker)
Abstracted bilateral deal flow participant that is recipient of initial communication.
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 Secondary()
Abstracted bilateral deal flow participant that is recipient of initial communication.
public FlowSession getOtherSideSession()
public SignedTransaction call()
This is where you fill out your business logic.
public TwoPartyDealFlow.Handshake<U> validateHandshake(TwoPartyDealFlow.Handshake<? extends U> handshake)
public NonExistentClass assembleSharedTX(TwoPartyDealFlow.Handshake<? extends U> handshake)
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