BasicWorkUnit

From Web Computing Documentation
Jump to: navigation, search

class BasicWorkUnit implements WorkUnit

  • web2grid
    • web2grid.core
      • web2grid.core.work
        • web2grid.core.work.BasicWorkUnit

Class overview

The class implements the basic functionality of a WorkUnit. This basis class handles the transitions between the different workunitstates.

Public functions

new ()

Implemented interface functions

start () from WorkUnit

terminate () from WorkUnit

enable () from WorkUnit

disable () from WorkUnit

getState () : WorkUnitState


operate () from Operable through WorkUnit

isChanged () : Bool from Persistent through WorkUnit

hxSerialize (s : haxe.Serializer) from Persistent through WorkUnit

hxUnserialize (s : haxe.Unserializer) from Persistent through WorkUnit

isCompleted () : Bool from AsyncResult through WorkUnit

isError () from AsyncResult through WorkUnit

getError () : String from AsyncResult through WorkUnit

getProgress () : Float from AsyncResult through WorkUnit

getResult () : T from AsyncResult through WorkUnit

getElapsedTime () : Date from AsyncResult through WorkUnit

Personal tools
Modules