Notify Observers.
This method is left public mostly for backward compatibility, and to allow you to send custom notification classes using the facade.
Usually you should just call sendNotification
and pass the parameters, never having to
construct the notification yourself.
the INotification to have the View notify Observers of.
Register an IMediator instance with the View.
a reference to the IMediator instance
Register an IProxy with the Model by name.
the IProxy to be registered with the Model.
Send a INotification.
Convenience method to prevent having to construct new notification instances in our implementation code.
The name of the notification to send.
Optionalbody: anyOptional data associated with the notification.
Optionaltype: stringOptional type of the notification.
IFacadeThe interface definition for a PureMVCFacade.The
FacadePattern suggests providing a single class to act as a central point of communication for a subsystem.In PureMVC, the
Facadeacts as an interface between the core MVC actors (Model,View,Controller) and the rest of your application.IFacade