INotifier class

The interface definition for a PureMVC Notifier.

MacroCommand, SimpleCommand, Mediator and Proxy all have a need to send Notifications.

The INotifier interface provides a common method called sendNotification that relieves implementation code of the necessity to actually construct INotifications.

The Notifier class, which all of the above mentioned classes extend, also provides an initialized reference to the Facade Multiton, which is required for the convienience method for sending Notifications, but also eases implementation as these classes have frequent IFacade interactions and usually require access to the facade anyway.

See IFacade, INotification

Implementers

Constructors

INotifier()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

initializeNotifier(String key) → void
Initialize this INotifier instance. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sendNotification(String noteName, [dynamic body, String type]) → void
Send an INotification. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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