Beispiel #1
0
 public Job(Guid id, Guid handlerId, string jobInputString, string hash)
 {
     Id                 = id;
     HandlerId          = handlerId;
     Hash               = hash;
     JobInputCompressed = ZipUtility.GZipCompress(Encoding.UTF8.GetBytes(jobInputString));
 }
Beispiel #2
0
 public JobResult(Job job, Guid clientId, string jobOutputString)
     : this(job, clientId)
 {
     JobOutputCompressed = ZipUtility.GZipCompress(Encoding.UTF8.GetBytes(jobOutputString));
 }