Last change
on this file since 17013 was
17013,
checked in by dpiringe, 5 years ago
|
#2924:
- some changes in CLIApplication.cs to reduce unnecessary allocation of string objects
- renamed AppTest to ConsoleOptimizer and fixed race condition
- replaced enum RunnerJob with class RunnerMessage for more control of saved data
- changed usage of BinaryFormatter with HEAL.Attic, following types are now Storable:
- ConsoleOptimizer
- InspectApplication
- ApplicationBase
- ApplicationRunner
- AssemblyInfo
- Runner
- UniPath
- RunnerMessage
- switched QuietMode from ApplicationRunner to IRunner
- DockerRunnerHost can now automatically build docker images for linux and windows containers (also identifies which container type is active) -> removes the condition to have the image preinstalled
- to achieve this, there are two new folders DockerLinuxBuild and DockerWindowsBuild included in build output, which include Dockerfiles to build images for linux and windows container
- added NuGet package System.CodeDom to project HeuristicLab.Scripting-3.3
- added method Send(RunnerMessage) to IRunnerHost and transferred methods Pause and Resume to IRunner
- added internal reference of RunnerHost in Runner
- added abstract method SendMessage(RunnerMessage) in RunnerHost which gets called from method Send(RunnerMessage)
- because of a Google.Protobuf "bug", RunnerMessages cannot get serialized/deserialized directly on stream -> workaround with a byte array, which gets written and read
- additionally, the length of the array gets sent first (length as integer -> 4 bytes)
- static method in RunnerMessage to read a message from a stream
- the method SendMessage(RunnerMessage) in RunnerHost implements this functionality
|
File size:
443 bytes
|
Line | |
---|
1 | using HEAL.Attic;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.PluginInfrastructure {
|
---|
4 | [StorableType(StorableMemberSelection.AllProperties, "D1DC9C3E-16B7-464E-A377-35FA614195AD")]
|
---|
5 | public class AssemblyInfo {
|
---|
6 | /// <summary>
|
---|
7 | /// Path to the assembly file.
|
---|
8 | /// </summary>
|
---|
9 | public UniPath Path { get; set; } = null;
|
---|
10 |
|
---|
11 | /// <summary>
|
---|
12 | /// Fullname of the assembly.
|
---|
13 | /// </summary>
|
---|
14 | public string Name { get; set; }
|
---|
15 | }
|
---|
16 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.