Changeset 11714


Ignore:
Timestamp:
12/22/14 03:00:08 (8 years ago)
Author:
swagner
Message:

#2205: Enabled port parameter changes in ConfigurationPort and ExecutionPort

Location:
branches/OptimizationNetworks/HeuristicLab.Networks/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/ConfigurationPort.cs

    r11713 r11714  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Core.Networks;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2625
    2726namespace 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.")]
    2928  [StorableClass]
    30   public class ConfigurationPort : MessagePort, IConfigurationPort {
     29  public class ConfigurationPort : UserDefinedMessagePort, IConfigurationPort {
    3130    [StorableConstructor]
    3231    protected ConfigurationPort(bool deserializing) : base(deserializing) { }
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/ExecutionPort.cs

    r11713 r11714  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Core.Networks;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2625
    2726namespace 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.")]
    2928  [StorableClass]
    30   public class ExecutionPort : MessagePort, IExecutionPort {
     29  public class ExecutionPort : UserDefinedMessagePort, IExecutionPort {
    3130    [StorableConstructor]
    3231    protected ExecutionPort(bool deserializing) : base(deserializing) { }
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/IConfigurationPort.cs

    r11577 r11714  
    2020#endregion
    2121
    22 using HeuristicLab.Core.Networks;
    2322
    2423namespace HeuristicLab.Networks {
    25   public interface IConfigurationPort : IMessagePort { }
     24  public interface IConfigurationPort : IUserDefinedMessagePort { }
    2625}
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/IExecutionPort.cs

    r11577 r11714  
    2020#endregion
    2121
    22 using HeuristicLab.Core.Networks;
    2322
    2423namespace HeuristicLab.Networks {
    25   public interface IExecutionPort : IMessagePort { }
     24  public interface IExecutionPort : IUserDefinedMessagePort { }
    2625}
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/UserDefinedMessagePort.cs

    r11577 r11714  
    2828  [Item("User-Defined Message Port", "A message port of a network which can be defined by the user.")]
    2929  [StorableClass]
    30   public sealed class UserDefinedMessagePort : MessagePort, IUserDefinedMessagePort {
     30  public class UserDefinedMessagePort : MessagePort, IUserDefinedMessagePort {
    3131    new public PortParameterCollection Parameters {
    3232      get { return base.Parameters; }
     
    3434
    3535    [StorableConstructor]
    36     private UserDefinedMessagePort(bool deserializing) : base(deserializing) { }
    37     private UserDefinedMessagePort(UserDefinedMessagePort original, Cloner cloner) : base(original, cloner) { }
     36    protected UserDefinedMessagePort(bool deserializing) : base(deserializing) { }
     37    protected UserDefinedMessagePort(UserDefinedMessagePort original, Cloner cloner) : base(original, cloner) { }
    3838    public UserDefinedMessagePort() : base("UserDefinedMessagePort") { }
    3939    public UserDefinedMessagePort(string name) : base(name) { }
Note: See TracChangeset for help on using the changeset viewer.