Packageorg.spicefactory.parsley.core.binding
Interfacepublic interface Subscriber
Implementors PersistentPublisher, PersistentSubscriber, PropertySubscriber, SubscribingPropertyPublisher

Subscribes to the values of one or more matching publishers.



Public Properties
 PropertyDefined By
  id : String
[read-only] The optional id of the published value.
Subscriber
  type : ClassInfo
[read-only] The type of the published value.
Subscriber
  unique : Boolean
[read-only] Indicates whether there should only be one subscriber with the same type and id values for one particular implementation of this interface.
Subscriber
Public Methods
 MethodDefined By
  
update(newValue:*):void
Notifies this suscriber that the published value has changed.
Subscriber
Property Detail
idproperty
id:String  [read-only]

The optional id of the published value. If omitted subscribers and publishers will solely be matched by type.


Implementation
    public function get id():String
typeproperty 
type:ClassInfo  [read-only]

The type of the published value. May be an interface or supertype of the actual published value.


Implementation
    public function get type():ClassInfo
uniqueproperty 
unique:Boolean  [read-only]

Indicates whether there should only be one subscriber with the same type and id values for one particular implementation of this interface.


Implementation
    public function get unique():Boolean
Method Detail
update()method
public function update(newValue:*):void

Notifies this suscriber that the published value has changed.

Parameters

newValue:* — the new value of the matching publisher