corda / 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 doesn't 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 doesn't necessarily generate "correct" events!

### Properties

amountGenerator | `val amountGenerator: Generator<Amount<Currency>>`
amountIssuedGenerator | `val amountIssuedGenerator: Generator<Amount<Issued<Currency>>>`
bankOfCordaExitGenerator | `val bankOfCordaExitGenerator: Generator<ExitCash>`
bankOfCordaIssueGenerator | `val bankOfCordaIssueGenerator: Generator<IssueCash>`
cashStateGenerator | `val cashStateGenerator: Generator<StateAndRef<State>>`
clientCommandGenerator | `val clientCommandGenerator: Generator<PayCash>`
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: Generator<CompositeKey>`