Exemplo n.º 1
0
        protected override Java.Lang.Object DoInBackground(params Java.Lang.Object[] @params)
        {
            Log.Error("COMPUTING", "STARTING TO COMPUTE RESULT FOR WO: " + _cp.ComputationRequestId);
            _resultPackage = WorkerClass.DoWork(_cp);

            _resultPackage.DeserialisationTime = (Decimal)deserialisationEnd.Subtract(deserialisaitonStart).TotalSeconds;

            return(true);
        }
Exemplo n.º 2
0
 public static void DoWork(CommPackage workItem)
 {
     workItem = WorkerClass.DoWork(workItem);
     SubmitResult(workItem);
 }