| Package | com.addicted2flash.data.service |
| Interface | public interface IDataServiceGroup extends IDisposable |
| Implementors | LoaderQueueServiceGroup |
| Property | Defined by | ||
|---|---|---|---|
| currentService : IDataService
[read-only]
Returns the currently active service that has dispatched an event (f.e error events).
| IDataServiceGroup | ||
| dataProgress : DataProgress
[read-only]
Returns the overall progress of the
IDataServiceGroup. | IDataServiceGroup | ||
| dataServiceCount : int [read-only]
Returns the total amount of services in the list.
| IDataServiceGroup | ||
| dataServiceObserverGroupCount : int [read-only]
Returns the number of
IDataServiceGroupObserver. | IDataServiceGroup | ||
| errorMessage : String [read-only]
Returns error message of the
IDataService. | IDataServiceGroup | ||
| httpStatus : int [read-only]
Returns http status of the
IDataService. | IDataServiceGroup | ||
| Method | Defined by | ||
|---|---|---|---|
|
add(service:IDataService):void
Adds a service to the list of services.
| IDataServiceGroup | ||
|
Adds an
IDataServiceGroupObserver to the set of observers for this object. | IDataServiceGroup | ||
![]() |
dispose():void
free memory for garbage collection.
| IDisposable | |
|
getAt(i:int):IDataService
Returns service at a given index.
| IDataServiceGroup | ||
|
remove(service:IDataService):void
Removes a service from the list of services.
| IDataServiceGroup | ||
|
removeAt(i:int):void
Removes a service from the list of services at a given index.
| IDataServiceGroup | ||
|
Deletes an
IDataServiceGroupObserver from the set of observers of this object. | IDataServiceGroup | ||
|
removeObservers():void
Clears the list of observers.
| IDataServiceGroup | ||
| currentService | property |
currentService:IDataService [read-only]Returns the currently active service that has dispatched an event (f.e error events).
Implementation public function get currentService():IDataService
| dataProgress | property |
dataProgress:DataProgress [read-only]
Returns the overall progress of the IDataServiceGroup.
NOTE: the totalbytes are just the bytes of the services being processed by the
LoaderQueue. This means that it is possible that not all totalbytes of the added
services are included.
public function get dataProgress():DataProgress
| dataServiceCount | property |
dataServiceCount:int [read-only]Returns the total amount of services in the list.
Implementation public function get dataServiceCount():int
| dataServiceObserverGroupCount | property |
dataServiceObserverGroupCount:int [read-only]
Returns the number of IDataServiceGroupObserver.
public function get dataServiceObserverGroupCount():int
| errorMessage | property |
errorMessage:String [read-only]
Returns error message of the IDataService.
public function get errorMessage():String
| httpStatus | property |
httpStatus:int [read-only]
Returns http status of the IDataService.
public function get httpStatus():int
| add | () | method |
public function add(service:IDataService):voidAdds a service to the list of services.
Parametersservice:IDataService — service to be added
|
| addDataServiceGroupObserver | () | method |
public function addDataServiceGroupObserver(o:IDataServiceGroupObserver):void
Adds an IDataServiceGroupObserver to the set of observers for this object.
o:IDataServiceGroupObserver — IDataServiceGroupObserver to be added.
|
| getAt | () | method |
public function getAt(i:int):IDataServiceReturns service at a given index.
Parametersi:int — index of the service
|
IDataService —
service at a given index
|
| remove | () | method |
public function remove(service:IDataService):voidRemoves a service from the list of services.
Parametersservice:IDataService — service to be removed
|
| removeAt | () | method |
public function removeAt(i:int):voidRemoves a service from the list of services at a given index.
Parametersi:int — index of service
|
| removeDataServiceGroupObserver | () | method |
public function removeDataServiceGroupObserver(o:IDataServiceGroupObserver):void
Deletes an IDataServiceGroupObserver from the set of observers of this object.
o:IDataServiceGroupObserver — IDataServiceGroupObserver to be deleted.
|
| removeObservers | () | method |
public function removeObservers():voidClears the list of observers.