public class ReceiveStateAndRefFlow<T extends ContractState>
extends FlowLogic
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.
|
call, checkFlowPermission, flowStackSnapshot, getCurrentTopLevel, getFlowInfo, getLogger, getOurIdentity, getOurIdentityAndCert, getProgressTracker, getRunId, getServiceHub, initiateFlow, persistFlowStackSnapshot, receive, recordAuditEvent, send, sendAndReceive, sleep, subFlow, track, waitForLedgerCommit
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.