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); }
public static void DoWork(CommPackage workItem) { workItem = WorkerClass.DoWork(workItem); SubmitResult(workItem); }