Packageorg.puremvc.as3.interfaces
Interfacepublic interface IProxy
ImplementorsProxy

The interface definition for a PureMVC Proxy.

In PureMVC, IProxy implementors assume these responsibilities:

Additionally, IProxys typically:



Public Methods
 MethodDefined by
  
getData():Object
Get the data object
IProxy
  
getProxyName():String
Get the Proxy name
IProxy
  
onRegister():void
Called by the Model when the Proxy is registered
IProxy
  
onRemove():void
Called by the Model when the Proxy is removed
IProxy
  
setData(data:Object):void
Set the data object
IProxy
Method detail
getData()method
public function getData():Object

Get the data object

Returns
Object — the data as type Object
getProxyName()method 
public function getProxyName():String

Get the Proxy name

Returns
String — the Proxy instance name
onRegister()method 
public function onRegister():void

Called by the Model when the Proxy is registered

onRemove()method 
public function onRemove():void

Called by the Model when the Proxy is removed

setData()method 
public function setData(data:Object):void

Set the data object

Parameters
data:Object — the data object