net.corda.client.mock / EventGenerator

EventGenerator

class EventGenerator

Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned state/ref pairs, but it doesnt necessarily generate "correct" events



Constructors

<init> EventGenerator(parties: List<Party>, notary: Party, currencies: List<Currency> = listOf(USD, GBP, CHF), issuers: List<Party> = parties)

Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned state/ref pairs, but it doesnt necessarily generate "correct" events

Properties

amountGenerator val amountGenerator: Generator<Amount<Currency>>
amountIssuedGenerator val amountIssuedGenerator: Generator<Amount<Issued<Currency>>>
bankOfCordaExitGenerator val bankOfCordaExitGenerator: <ERROR CLASS>
bankOfCordaIssueGenerator val bankOfCordaIssueGenerator: <ERROR CLASS>
cashStateGenerator val cashStateGenerator: <ERROR CLASS>
clientCommandGenerator val clientCommandGenerator: <ERROR CLASS>
consumedGenerator val consumedGenerator: Generator<Set<StateRef>>
currencies val currencies: List<Currency>
currencyGenerator val currencyGenerator: Generator<Currency>
exitCashGenerator val exitCashGenerator: Generator<ExitCash>
issueCashGenerator val issueCashGenerator: Generator<IssueCash>
issueRefGenerator val issueRefGenerator: Generator<OpaqueBytes>
issuedGenerator val issuedGenerator: Generator<Issued<Currency>>
issuerGenerator val issuerGenerator: Generator<PartyAndReference>
issuers val issuers: List<Party>
moveCashGenerator val moveCashGenerator: Generator<PayCash>
notary val notary: Party
parties val parties: List<Party>
partyGenerator val partyGenerator: Generator<Party>
producedGenerator val producedGenerator: Generator<Set<StateAndRef<ContractState>>>
publicKeyGenerator val publicKeyGenerator: <ERROR CLASS>