Changeset 782 for trunk/sources
- Timestamp:
- 11/19/08 17:00:18 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Common/Logging.cs
r739 r782 40 40 /// </summary> 41 41 /// <returns>the instance of the logger</returns> 42 public static Logging getInstance() {42 public static Logging GetInstance() { 43 43 if (instance == null) 44 44 instance = new Logging(); -
trunk/sources/HeuristicLab.Hive.Client.Common/Properties/AssemblyInfo.frame
r716 r782 24 24 using System.Runtime.InteropServices; 25 25 using HeuristicLab.PluginInfrastructure; 26 using System.Security; 26 27 27 28 // General Information about an assembly is controlled through the following … … 36 37 [assembly: AssemblyTrademark("")] 37 38 [assembly: AssemblyCulture("")] 39 [assembly: AllowPartiallyTrustedCallers] 38 40 39 41 // Setting ComVisible to false makes the types in this assembly not visible -
trunk/sources/HeuristicLab.Hive.Client.Common/TestJob.cs
r779 r782 33 33 for (int y = 0; y < Int32.MaxValue; y++) ; 34 34 if (abort == true) { 35 Logging. getInstance().Info(this.ToString(), "Job Processing aborted");35 Logging.GetInstance().Info(this.ToString(), "Job Processing aborted"); 36 36 Debug.WriteLine("Job Abort Processing"); 37 37 break; 38 38 } 39 Logging. getInstance().Info(this.ToString(), "Iteration " + x + " done");39 Logging.GetInstance().Info(this.ToString(), "Iteration " + x + " done"); 40 40 Debug.WriteLine("Iteration " + x + " done"); 41 41 } -
trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs
r779 r782 61 61 Heartbeat beat = new Heartbeat(); 62 62 beat.Interval = 5000; 63 beat.StartHeartbeat(); 63 beat.StartHeartbeat(); 64 64 65 65 MessageQueue queue = MessageQueue.GetInstance(); … … 68 68 MessageContainer container = queue.GetMessage(); 69 69 Debug.WriteLine("Main loop received this message: " + container.Message.ToString()); 70 Logging. getInstance().Info(this.ToString(), container.Message.ToString());70 Logging.GetInstance().Info(this.ToString(), container.Message.ToString()); 71 71 DetermineAction(container); 72 72 } … … 77 77 if (sandboxed) { 78 78 pset = new PermissionSet(PermissionState.None); 79 pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 79 pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution)); 80 80 } else { 81 81 pset = new PermissionSet(PermissionState.Unrestricted); … … 108 108 109 109 case MessageContainer.MessageType.FetchJob: 110 bool sandboxed = true; 111 110 112 IJob job = CreateNewJob(); 111 113 112 AppDomain appDomain = CreateNewAppDomain( false);114 AppDomain appDomain = CreateNewAppDomain(true); 113 115 appDomains.Add(job.JobId, appDomain); 114 116 -
trunk/sources/HeuristicLab.Hive.Client.ExecutionEngine/Properties/AssemblyInfo.frame
r749 r782 24 24 using System.Runtime.InteropServices; 25 25 using HeuristicLab.PluginInfrastructure; 26 using System.Security; 26 27 27 28 // General Information about an assembly is controlled through the following … … 36 37 [assembly: AssemblyTrademark("")] 37 38 [assembly: AssemblyCulture("")] 39 [assembly: AllowPartiallyTrustedCallers] 38 40 39 41 // Setting ComVisible to false makes the types in this assembly not visible
Note: See TracChangeset
for help on using the changeset viewer.