Beispiel #1
0
 public JobBaseUrl(IJobContext jobContext, JOB_TYPE type)
 {
     this.JobContext = jobContext;
     this.Id         = jobContext.f_getTotalJob() + 1;
     this.Type       = type;
     this.Status     = 1; /* 1: init */
 }
Beispiel #2
0
        public JobWorker(IJobContext jobContext, JOB_TYPE type)
        {
            this.Messages = new QueueThreadSafe <Message>();

            this.JobContext = jobContext;
            this.Id         = jobContext.f_getTotalJob() + 1;
            this.Type       = type;
            this.Status     = 1; /* 1: init */
        }
Beispiel #3
0
        public JobBase(IJobContext jobContext, JOB_TYPE type)
        {
            this.Messages = new ConcurrentQueue <Message>();

            this.JobContext = jobContext;
            this.Id         = jobContext.f_getTotalJob() + 1;
            this.Type       = type;
            this.Status     = 1; /* 1: init */
        }