corda / net.corda.finance.flows / TwoPartyDealFlow / Acceptor

Acceptor

class Acceptor : Secondary<AutoOffer>

One side of the flow for inserting a pre-agreed deal.

Constructors

<init>

One side of the flow for inserting a pre-agreed deal.

Acceptor(otherSideSession: FlowSession, progressTracker: ProgressTracker = Secondary.tracker())

Properties

otherSideSession

open val otherSideSession: FlowSession

progressTracker

Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something helpful with the progress reports e.g record to the audit service. If this flow is invoked as a subflow of another, then the tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track progress.

open val progressTracker: ProgressTracker

Functions

assembleSharedTX

open fun assembleSharedTX(handshake: Handshake<AutoOffer>): Triple<TransactionBuilder, List<PublicKey>, List<TransactionSignature>>

validateHandshake

open fun validateHandshake(handshake: Handshake<AutoOffer>): Handshake<AutoOffer>