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.
public SendStateAndRefFlow(@NotNull FlowSession otherSideSession, @NotNull 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.class SendStateAndRefFlow
,
class StateAndRef
,
class ReceiveStateAndRefFlow