Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/08 11:15:47 (16 years ago)
Author:
kgrading
Message:

implementation for #425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService/ClientConsoleCommunicator.cs

    r919 r932  
    44using System.Text;
    55using HeuristicLab.Hive.Client.Core.ClientConsoleService.Interfaces;
     6using HeuristicLab.Hive.Client.Core.ConfigurationManager;
     7using HeuristicLab.Hive.Client.Communication;
    68
    79namespace HeuristicLab.Hive.Client.Core.ClientConsoleService {
     
    1012
    1113    public StatusCommons GetStatusInfos() {
    12       throw new NotImplementedException();
     14      return ConfigManager.Instance.GetStatusForClientConsole();
    1315    }
    1416
    1517    public ConnectionContainer GetConnection() {
    16       throw new NotImplementedException();
     18      return new ConnectionContainer{IPAdress = WcfService.Instance.ServerIP, Port = WcfService.Instance.ServerPort } ;
    1719    }
    1820
    1921    public void SetConnection(ConnectionContainer container) {
    20       throw new NotImplementedException();
     22      WcfService.Instance.Connect(container.IPAdress, container.Port);
     23    }
     24
     25    public void Disconnect() {
     26      WcfService.Instance.Disconnect();
    2127    }
    2228
Note: See TracChangeset for help on using the changeset viewer.