Packagecom.addicted2flash.data.service
Interfacepublic interface IDataServiceObservable extends IDisposable
SubinterfacesIDataService

Interface all data service observables have to implement.



Public Properties
 PropertyDefined by
  dataServiceObserverCount : int
[read-only] Returns the number of IDataServiceObserver.
IDataServiceObservable
Public Methods
 MethodDefined by
  
Adds an IDataServiceObserver to the set of observers for this object.
IDataServiceObservable
 Inherited
dispose():void
free memory for garbage collection.
IDisposable
  
Registered IDataServiceObserver will be notified.
IDataServiceObservable
  
Deletes an IDataServiceObserver from the set of observers of this object.
IDataServiceObservable
  
Clears the list of observers.
IDataServiceObservable
Property detail
dataServiceObserverCountproperty
dataServiceObserverCount:int  [read-only]

Returns the number of IDataServiceObserver.

Implementation
    public function get dataServiceObserverCount():int
Method detail
addDataServiceObserver()method
public function addDataServiceObserver(o:IDataServiceObserver):void

Adds an IDataServiceObserver to the set of observers for this object.

Parameters
o:IDataServiceObserverIDataServiceObserver to be added.
notifyDataServiceObservers()method 
public function notifyDataServiceObservers(type:int):void

Registered IDataServiceObserver will be notified.

Parameters
type:int — type of notification

See also

DataServiceEventType
removeDataServiceObserver()method 
public function removeDataServiceObserver(o:IDataServiceObserver):void

Deletes an IDataServiceObserver from the set of observers of this object.

Parameters
o:IDataServiceObserverIDataServiceObserver to be deleted.
removeObservers()method 
public function removeObservers():void

Clears the list of observers.