corda / net.corda.finance.flows / TwoPartyDealFlow

TwoPartyDealFlow

object TwoPartyDealFlow

Classes for manipulating a two party deal or agreement.

Types

Acceptor

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

class Acceptor : Secondary<AutoOffer>

AutoOffer

data class AutoOffer

Handshake

This object is serialised to the network and is the first flow message the seller sends to the buyer.

data class Handshake<out T>

Instigator

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

class Instigator : Primary

Primary

Abstracted bilateral deal flow participant that initiates communication/handshake.

abstract class Primary : FlowLogic<SignedTransaction>

Secondary

Abstracted bilateral deal flow participant that is recipient of initial communication.

abstract class Secondary<U> : FlowLogic<SignedTransaction>