CreditChannelActivityEvent class

One cycle of pool-attributed credit traffic.

Constructors

CreditChannelActivityEvent({int? debitPool, int? returnPool})
Creates a pool-attributed credit activity event.
const

Properties

debitPool → int?
Pool that consumes a credit on this cycle, if any.
final
hashCode → int
The hash code for this object.
no setterinherited
returnPool → int?
Pool that receives a returned credit on this cycle, if any.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debitVector(int poolCount) → int
One-hot debit vector for poolCount pools.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
returnVector(int poolCount) → int
One-hot credit-return vector for poolCount pools.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

idle → const CreditChannelActivityEvent
An inactive credit activity event.