| Package | org.spicefactory.parsley.binding.impl |
| Class | public class PersistentSubscriber |
| Inheritance | PersistentSubscriber AbstractSubscriber flash.events.EventDispatcher |
| Implements | Subscriber |
| Method | Defined By | ||
|---|---|---|---|
PersistentSubscriber(manager:PersistenceManager, type:ClassInfo, id:String = null, persistentKey:Object = null)
Creates a new instance. | PersistentSubscriber | ||
update(newValue:*):void
Notifies this suscriber that the published value has changed. | PersistentSubscriber | ||
| PersistentSubscriber | () | Constructor |
public function PersistentSubscriber(manager:PersistenceManager, type:ClassInfo, id:String = null, persistentKey:Object = null)Creates a new instance.
Parametersmanager:PersistenceManager — the manager to write values to
| |
type:ClassInfo — the type of the published value
| |
id:String (default = null) — the id the value is published with
| |
persistentKey:Object (default = null) — the key to pass to the persistence manager in case it differs from the id
|
| update | () | method |
public function update(newValue:*):voidNotifies this suscriber that the published value has changed.
Parameters
newValue:* — the new value of the matching publisher
|