PassiveBrokerInterface class abstract
The PassiveBrokerInterface is the baseclass for all broker interfaces where the user needs to call a method to see if a new message is available.
- Inheritance
-
- Object
- BrokerInterface
- PassiveBrokerInterface
Constructors
- PassiveBrokerInterface.new(AuthenticationManager authManager)
-
Creates a new PassiveBrokerInterface with the given
authManager
.
Properties
- authManager → AuthenticationManager
-
The authentication manager used by this instance to get
valid access tokens.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getMessage(
String endpoint) → Message? -
Returns a
Message
if it's available at theendpoint
, null otherwise. -
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 allendpoints
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited