- Timestamp:
- 03/25/16 12:47:31 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Hubs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Hubs/JobUpdaterHub.cs
r13733 r13735 39 39 looperTasks(t);//starts recursive loop 40 40 } 41 Clients. All.requestDone();//Final note from server when all tasks are checked.41 Clients.Caller.requestDone();//Final note from server when all tasks are checked. 42 42 //Client starts countdown and resends the updateAll when done 43 43 GC.Collect(); … … 47 47 public void updateJob() 48 48 { 49 Clients. All.processJobData(Job.Job.CalculatingCount, Job.Job.FinishedCount);49 Clients.Caller.processJobData(Job.Job.CalculatingCount, Job.Job.FinishedCount); 50 50 } 51 51 /// <summary> … … 78 78 //limits loaded data 79 79 var json = JsonConvert.SerializeObject(task.Task, settings); 80 Clients. All.processData(task.Task.Id, json, task.ItemTask.Name.ToString());80 Clients.Caller.processData(task.Task.Id, json, task.ItemTask.Name.ToString()); 81 81 //data sent to user 82 82 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Hubs/ProgressHub.cs
r13733 r13735 23 23 { 24 24 25 Clients. All.processMessage("Connection Established");25 Clients.Caller.processMessage("Connection Established"); 26 26 Job = FileOpeningService.Instance.Job; 27 27 Job.Progress.StatusChanged += runHub; … … 31 31 /// </summary> 32 32 /// <param name="name">Job name</param> 33 public void ChangeName (string name)33 public void ChangeNameResource(string name, string resource) 34 34 { 35 35 if (name != null) 36 36 FileOpeningService.Instance.Job.Job.Name = name; 37 if(resource != null && resource != "") 38 { 39 FileOpeningService.Instance.Job.Job.ResourceNames += "/" + resource; 40 } 37 41 } 38 42 /// <summary> … … 153 157 } 154 158 //send info to client 155 Clients. All.processMessage(Job.Progress.Status, value);159 Clients.Caller.processMessage(Job.Progress.Status, value); 156 160 157 161 }
Note: See TracChangeset
for help on using the changeset viewer.