Changeset 11714
- Timestamp:
- 12/22/14 03:00:08 (10 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Networks/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/ConfigurationPort.cs
r11713 r11714 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Core.Networks;25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 25 27 26 namespace HeuristicLab.Networks { 28 [Item("ConfigurationPort", "A port of a network node which triggers configuration changes .")]27 [Item("ConfigurationPort", "A port of a network node which triggers configuration changes and can be defined by the user.")] 29 28 [StorableClass] 30 public class ConfigurationPort : MessagePort, IConfigurationPort {29 public class ConfigurationPort : UserDefinedMessagePort, IConfigurationPort { 31 30 [StorableConstructor] 32 31 protected ConfigurationPort(bool deserializing) : base(deserializing) { } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/ExecutionPort.cs
r11713 r11714 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Core.Networks;25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 25 27 26 namespace HeuristicLab.Networks { 28 [Item("ExecutionPort", "A port of a network node which triggers execution .")]27 [Item("ExecutionPort", "A port of a network node which triggers execution and can be defined by the user.")] 29 28 [StorableClass] 30 public class ExecutionPort : MessagePort, IExecutionPort {29 public class ExecutionPort : UserDefinedMessagePort, IExecutionPort { 31 30 [StorableConstructor] 32 31 protected ExecutionPort(bool deserializing) : base(deserializing) { } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/IConfigurationPort.cs
r11577 r11714 20 20 #endregion 21 21 22 using HeuristicLab.Core.Networks;23 22 24 23 namespace HeuristicLab.Networks { 25 public interface IConfigurationPort : I MessagePort { }24 public interface IConfigurationPort : IUserDefinedMessagePort { } 26 25 } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/IExecutionPort.cs
r11577 r11714 20 20 #endregion 21 21 22 using HeuristicLab.Core.Networks;23 22 24 23 namespace HeuristicLab.Networks { 25 public interface IExecutionPort : I MessagePort { }24 public interface IExecutionPort : IUserDefinedMessagePort { } 26 25 } -
branches/OptimizationNetworks/HeuristicLab.Networks/3.3/UserDefinedMessagePort.cs
r11577 r11714 28 28 [Item("User-Defined Message Port", "A message port of a network which can be defined by the user.")] 29 29 [StorableClass] 30 public sealedclass UserDefinedMessagePort : MessagePort, IUserDefinedMessagePort {30 public class UserDefinedMessagePort : MessagePort, IUserDefinedMessagePort { 31 31 new public PortParameterCollection Parameters { 32 32 get { return base.Parameters; } … … 34 34 35 35 [StorableConstructor] 36 pr ivateUserDefinedMessagePort(bool deserializing) : base(deserializing) { }37 pr ivateUserDefinedMessagePort(UserDefinedMessagePort original, Cloner cloner) : base(original, cloner) { }36 protected UserDefinedMessagePort(bool deserializing) : base(deserializing) { } 37 protected UserDefinedMessagePort(UserDefinedMessagePort original, Cloner cloner) : base(original, cloner) { } 38 38 public UserDefinedMessagePort() : base("UserDefinedMessagePort") { } 39 39 public UserDefinedMessagePort(string name) : base(name) { }
Note: See TracChangeset
for help on using the changeset viewer.