public class SendTransactionFlow
extends DataVendingFlow
The class SendTransactionFlow should be used to send a transaction to another peer that wishes to verify that transaction's
integrity by resolving and checking the dependencies as well. The other side should invoke class ReceiveTransactionFlow at
the right point in the conversation to receive the sent transaction and perform the resolution back-and-forth required
to check the dependencies and download any missing attachments.
public SendTransactionFlow(@NotNull
SignedTransaction stx,
@NotNull
java.util.Set<? extends net.corda.core.flows.FlowSession> participantSessions,
@NotNull
java.util.Set<? extends net.corda.core.flows.FlowSession> observerSessions,
@NotNull
StatesToRecord senderStatesToRecord,
boolean recordMetaDataEvenIfNotFullySigned)
The class SendTransactionFlow should be used to send a transaction to another peer that wishes to verify that transaction's
integrity by resolving and checking the dependencies as well. The other side should invoke class ReceiveTransactionFlow at
the right point in the conversation to receive the sent transaction and perform the resolution back-and-forth required
to check the dependencies and download any missing attachments.
stx - the class SignedTransaction being sent to the otherSessions.participantSessions - the target parties which are participants to the transaction.observerSessions - the target parties which are observers to the transaction.senderStatesToRecord - the enum StatesToRecord relevancy information of the sender.recordMetaDataEvenIfNotFullySigned - whether to store recovery metadata when a txn is not fully signed.class SendTransactionFlow,
class ReceiveTransactionFlowpublic SendTransactionFlow(@NotNull
FlowSession otherSide,
@NotNull
SignedTransaction stx)
@NotNull public SignedTransaction getStx()
the
class SignedTransaction being sent to the otherSessions.
class SignedTransaction@NotNull public java.util.Set<net.corda.core.flows.FlowSession> getParticipantSessions()
the target parties which are participants to the transaction.
@NotNull public java.util.Set<net.corda.core.flows.FlowSession> getObserverSessions()
the target parties which are observers to the transaction.
@NotNull public StatesToRecord getSenderStatesToRecord()
the
enum StatesToRecord relevancy information of the sender.
enum StatesToRecord