BonsoirAction<T extends BonsoirEvent> class abstract

This class serves as the stream source for the implementations to override.

Implementers

Constructors

BonsoirAction()

Properties

eventStream Stream<T>?
Regular event stream.
no setter
hashCode int
The hash code for this object.
no setterinherited
isReady bool
This returns whether the platform is ready for this event.
no setter
isStopped bool
This returns whether the platform has discarded this event.
no setter
ready Future<void>
The ready getter, that returns when the platform is ready for the operation requested.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
This starts the required action (eg. Discovery, or Broadcast).
stop() Future<void>
This stops the action (eg. stops discovery or broadcast).
toJson() Map<String, dynamic>
This returns a JSON representation of the event.
toString() String
A string representation of this object.
inherited

Operators

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