public class SendStateAndRefFlow
extends DataVendingFlow
The class SendStateAndRefFlow
should be used to send a list of input class StateAndRef
to another peer that wishes to verify
the input's integrity by resolving and checking the dependencies as well. The other side should invoke class ReceiveStateAndRefFlow
at the right point in the conversation to receive the input state and ref and perform the resolution back-and-forth
required to check the dependencies.
FlowLogic.Companion
Constructor and Description |
---|
SendStateAndRefFlow(FlowSession otherSideSession,
java.util.List<? extends net.corda.core.contracts.StateAndRef<?>> stateAndRefs)
The
class SendStateAndRefFlow should be used to send a list of input class StateAndRef to another peer that wishes to verify
the input's integrity by resolving and checking the dependencies as well. The other side should invoke class ReceiveStateAndRefFlow
at the right point in the conversation to receive the input state and ref and perform the resolution back-and-forth
required to check the dependencies. |
call, getOtherSideSession, getPayload, sendPayloadAndReceiveDataRequest, verifyDataRequest
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 SendStateAndRefFlow(FlowSession otherSideSession, java.util.List<? extends net.corda.core.contracts.StateAndRef<?>> stateAndRefs)
The class SendStateAndRefFlow
should be used to send a list of input class StateAndRef
to another peer that wishes to verify
the input's integrity by resolving and checking the dependencies as well. The other side should invoke class ReceiveStateAndRefFlow
at the right point in the conversation to receive the input state and ref and perform the resolution back-and-forth
required to check the dependencies.
otherSideSession
- the target session.stateAndRefs
- the list of class StateAndRef
being sent to the otherSideSession.otherSideSession
- the target session.stateAndRefs
- the list of class StateAndRef
being sent to the otherSideSession.class SendStateAndRefFlow
,
class StateAndRef
,
class ReceiveStateAndRefFlow