PureMVC Framework for haXe: API Documentation
Back | Index
interface org.puremvc.haxe.interfaces.IProxy

The interface definition for a PureMVC Proxy.

In PureMVC, IProxy implementors assume these responsibilities:

Additionally, IProxys typically:

function getData() : Dynamic
Get the data object
function getProxyName() : String
Get the Proxy name
function onRegister() : Void
Called by the Model when the Proxy is registered
function onRemove() : Void
Called by the Model when the Proxy is removed
function setData(data : Dynamic) : Void
Set the data object
Back | Index