Notify the IObservers
for a particular INotification
.
All previously attached IObservers
for this INotification
's
list are notified and are passed a reference to the INotification
in
the order in which they were registered.
the INotification
to notify IObservers
of.
Register an IMediator
instance with the View.
Registers the IMediator
so that it can be retrieved by name,
and further interrogates the IMediator
for its
INotification
interests.
If the IMediator
returns any INotification
names to be notified about, an Observer
is created encapsulating
the IMediator
instance's handleNotification
method
and registering it as an Observer
for all INotifications
the
IMediator
is interested in.
The IMediator
to be registered.
Register an IObserver
to be notified
of INotifications
with a given name.
The name of the notification to register the observer for.
The observer to be registered.
IView
The interface definition for a PureMVCView
.In PureMVC, the View class assumes these responsibilities:
Maintain a cache of
IMediator
instances.Provide methods for registering, retrieving, and removing
IMediators
.Managing the observer lists for each
INotification
in the application.Providing a method for attaching
IObservers
to anINotification
's observer list.Providing a method for broadcasting an
INotification
.Notifying the
IObservers
of a givenINotification
when it is broadcast.IView