PureMVC Framework for Haxe: API Documentation
Back | Index
class org.puremvc.haxe.patterns.facade.Facade
implements org.puremvc.haxe.interfaces.IFacade

A base Singleton IFacade implementation.

In PureMVC, the Facade class assumes these responsibilities:

function hasCommand(notificationName : String) : Bool
function hasMediator(mediatorName : String) : Bool
function hasProxy(proxyName : String) : Bool
function notifyObservers(notification : org.puremvc.haxe.interfaces.INotification) : Void
function registerCommand(notificationName : String, commandClassRef : Class<org.puremvc.haxe.interfaces.ICommand>) : Void
function registerMediator(mediator : org.puremvc.haxe.interfaces.IMediator) : Void
function registerProxy(proxy : org.puremvc.haxe.interfaces.IProxy) : Void
function removeCommand(notificationName : String) : Void
function removeMediator(mediatorName : String) : org.puremvc.haxe.interfaces.IMediator
function removeProxy(proxyName : String) : org.puremvc.haxe.interfaces.IProxy
function retrieveMediator(mediatorName : String) : org.puremvc.haxe.interfaces.IMediator
function retrieveProxy(proxyName : String) : org.puremvc.haxe.interfaces.IProxy
function sendNotification(notificationName : String, ?body : Dynamic, ?type : String) : Void
static function getInstance() : org.puremvc.haxe.interfaces.IFacade
Back | Index