/* PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved. Your reuse is governed by the Creative Commons Attribution 3.0 United States License */ package org.puremvc.as3.interfaces { /** * The interface definition for a PureMVC Proxy. * *

* In PureMVC, IProxy implementors assume these responsibilities:

* *

* Additionally, IProxys typically:

* */ public interface IProxy { /** * Get the Proxy name * * @return the Proxy instance name */ function getProxyName():String; /** * Set the data object * * @param data the data object */ function setData( data:Object ):void; /** * Get the data object * * @return the data as type Object */ function getData():Object; /** * Called by the Model when the Proxy is registered */ function onRegister( ):void; /** * Called by the Model when the Proxy is removed */ function onRemove( ):void; } }