home *** CD-ROM | disk | FTP | other *** search
- package org.puremvc.as3.patterns.observer
- {
- import org.puremvc.as3.interfaces.IFacade;
- import org.puremvc.as3.interfaces.INotifier;
- import org.puremvc.as3.patterns.facade.Facade;
-
- public class Notifier implements INotifier
- {
-
-
- protected var facade:IFacade;
-
- public function Notifier()
- {
- facade = Facade.getInstance();
- super();
- }
-
- public function sendNotification(notificationName:String, body:Object = null, type:String = null) : void
- {
- facade.sendNotification(notificationName,body,type);
- }
- }
- }
-