corda / net.corda.finance.contracts.asset / BilateralNetState

BilateralNetState

data class BilateralNetState<P : Any> : NetState<P>

Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.

Constructors

<init>

BilateralNetState(partyKeys: Set<AbstractParty>, template: Terms<P>)

Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.

Properties

partyKeys

val partyKeys: Set<AbstractParty>

template

val template: Terms<P>

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

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