BrokerInterface class abstract

The baseclass for all communication interfaces with the S3I-Broker.

There are two different approaches to receive messages from the Broker:

Implementers

Constructors

BrokerInterface(AuthenticationManager authManager)
Creates a BrokerInterface with the given authManager.

Properties

authManager AuthenticationManager
The authentication manager used by this instance to get valid access tokens.
final
hashCode int
The hash code for this object.
no setterinherited
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
sendMessage(Message message, Set<String> endpoints) → void
Publishes the given message to all endpoints.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

transformJsonToMessage(Map<String, dynamic> json) → Message
Returns a new created Message with the information stored in the json.