BonsoirPlatformInterface class abstract
A Bonsoir class that allows to either broadcast a service or to discover services on the network.
- Inheritance
-
- Object
- PlatformInterface
- BonsoirPlatformInterface
- Implementers
Constructors
- BonsoirPlatformInterface.new()
- Creates a new Bonsoir platform interface instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBroadcastAction(
BonsoirService service, {bool printLogs = kDebugMode}) → BonsoirAction< BonsoirBroadcastEvent> - This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.
-
createDiscoveryAction(
String type, {bool printLogs = kDebugMode}) → BonsoirAction< BonsoirDiscoveryEvent> - This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BonsoirPlatformInterface
-
Getter for better control.
getter/setter pair