Ignore:
Timestamp:
09/17/10 11:54:44 (9 years ago)
Author:
cneumuel
Message:
  • removed port setting from HiveServerConsole (port is configured in config file)
  • updated Files.txt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/HiveServerConsole.cs

    r4424 r4425  
    5454
    5555      ServiceLocator.Address = newIp;
    56       ServiceLocator.Port = this.tbPort.Text;
    5756
    5857      if (IsValid()) {
     
    7372      if (IsFormValidated()) {
    7473        IPAddress ipAdress = IPAddress.Parse(tbIp.Text);
    75         int port = int.Parse(tbPort.Text);
    7674        IServerConsoleFacade scf;
    7775        Response resp;
     
    8280
    8381          ServiceLocator.Address = tbIp.Text.Replace(" ", "");
    84           ServiceLocator.Port = tbPort.Text;
    8582          ServiceLocator.Username = tbUserName.Text;
    8683          ServiceLocator.Password = tbPwd.Text;
     
    136133        isValid = false;
    137134      }
    138       if (String.IsNullOrEmpty(tbPort.Text)) {
    139         lblError.Text = "Please type in IP-Address.";
    140         isValid = false;
    141       }
    142       try {
    143         int.Parse(tbPort.Text);
    144       }
    145       catch (Exception ex) {
    146         isValid = false;
    147         lblError.Text = "Please verify entered Port.";
    148       }
    149135      try {
    150136        IPAddress.Parse(tbIp.Text);
Note: See TracChangeset for help on using the changeset viewer.