Hello everyone, I have one simple question.
Both Command and Proxy have access to Facade, wich means, that they can retrieve any Mediator. If so, we can get a Mediator's instance, and then directly call one of it's functions instead of sending a Notification for e.g.:
var myMediator:MyMediator = facade.retrieveMediator( 'mediatorName' ) as MyMediator;
myMediator.update();
So my question is, why do we actually need these listNotificationInterests() and handleNotification(notification : INotification) functions within Mediator, and why do we send Notifications to Mediators?
Thanks
Marcin