corda / net.corda.finance.flows / TwoPartyDealFlow

TwoPartyDealFlow

object TwoPartyDealFlow

Classes for manipulating a two party deal or agreement.

Types

Acceptor

class Acceptor : Secondary<AutoOffer>

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

AutoOffer

data class AutoOffer

Handshake

data class Handshake<out T>

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

Instigator

class Instigator : Primary

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

Primary

abstract class Primary : FlowLogic<SignedTransaction>

Abstracted bilateral deal flow participant that initiates communication/handshake.

Secondary

abstract class Secondary<U> : FlowLogic<SignedTransaction>

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

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.