public class ReceiveStateAndRefFlow<T extends ContractState> extends FlowLogic<T>
The class ReceiveStateAndRefFlow
should be called in response to the class SendStateAndRefFlow
.
This flow is a combination of FlowSession.receive and resolve. This flow will receive a list of class StateAndRef
and perform the resolution back-and-forth required to check the dependencies.
The flow will return the list of class StateAndRef
after it is resolved.
FlowLogic.Companion
Constructor and Description |
---|
ReceiveStateAndRefFlow(FlowSession otherSideSession)
The
class ReceiveStateAndRefFlow should be called in response to the class SendStateAndRefFlow . |
Modifier and Type | Method and Description |
---|---|
java.util.List<net.corda.core.contracts.StateAndRef> |
call()
This is where you fill out your business logic.
|
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 ReceiveStateAndRefFlow(FlowSession otherSideSession)
The class ReceiveStateAndRefFlow
should be called in response to the class SendStateAndRefFlow
.
This flow is a combination of FlowSession.receive and resolve. This flow will receive a list of class StateAndRef
and perform the resolution back-and-forth required to check the dependencies.
The flow will return the list of class StateAndRef
after it is resolved.