public WorkerTask(CallerCoreMobile main, IInfoContext info, string functionName, FunctionContext context) { this.main = main; this.info = info; this.functionName = functionName; this.Logger = main.getLogger(); if (context != null) { this.context = new FunctionContext(context); } else { this.context = null; } asyncWorkerID++; // asyncWorkerID = worker.asyncWorkers++; }
/// <summary> /// Init the function system /// </summary> /// <seealso cref= CallarCore.MainCore#init() </seealso> public virtual void Load(string fullName, CallerCoreMobile main) { this.fullName = fullName; this.main = main; this.Logger = main.getLogger(); }
/// <summary> /// Init the function /// </summary> /// <seealso cref= CallerCore.MainCore.EnterpriseListener#init() </seealso> /// public virtual void init(CallerCoreMobile main) { this.main = main; this.info = main.infoctx; this.Logger = main.getLogger(); }