| Package | org.spicefactory.parsley.core.binding |
| Interface | public interface Subscriber |
| Implementors | PersistentPublisher, PersistentSubscriber, PropertySubscriber, SubscribingPropertyPublisher |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
update(newValue:*):void
Notifies this suscriber that the published value has changed. | Subscriber | ||
| id | property |
id:String [read-only] The optional id of the published value. If omitted subscribers and publishers will solely be matched by type.
public function get id():String| type | property |
type:ClassInfo [read-only] The type of the published value. May be an interface or supertype of the actual published value.
public function get type():ClassInfo| unique | property |
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.
public function get unique():Boolean| update | () | method |
public function update(newValue:*):voidNotifies this suscriber that the published value has changed.
Parameters
newValue:* — the new value of the matching publisher
|