MockDispatcher class

Implemented types

Constructors

MockDispatcher({required MockModuleEnv env, FutureOr<void> onInit()?, FutureOr<void> onPacket(DataPackage)?})

Properties

env MockModuleEnv
final
hashCode int
The hash code for this object.
no setterinherited
onInit FutureOr<void> Function()?
getter/setter pair
onPacket FutureOr<void> Function(DataPackage)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeRuntime() Future<void>
override
getModuleList(List<String> moduleClasses) Future<List<ModDescriptor>>
override
getModuleOrder(List<String> proposedModuleOrder) List<String>
override
handleControlPackage(DataPackage package) → void
override
initRuntime(Map<String, List<DataPackage>> modules, StreamController<DataPackage> outputController) Future<Stream<DataPackage>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOnControlPackageFunction(Function function) → void
override
shutdown() → void
start() bool
timeStampFromDateTime(DateTime dt) Timestamp
toString() String
A string representation of this object.
inherited

Operators

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