Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/11 14:12:30 (14 years ago)
Author:
ascheibe
Message:

#1233

  • use SlaveComm Endpoint from app.config
  • various further slave bugfixes/cleanups
  • added preliminary icon for hive slave ui and some slave ui improvements
  • added resource deletion to admin ui
  • fix service exception thrown if there is no EventLog
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/ConfigManager.cs

    r5621 r5711  
    240240
    241241    public static int GetFreeMemory() {
    242       PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes", true);
    243       int mb = (int)(counter.NextValue() / 1024 / 1024);
     242      int mb = 0;
     243
     244      try {
     245        PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes", true);
     246        mb = (int)(counter.NextValue() / 1024 / 1024);
     247      }
     248      catch { }
    244249      return mb;
    245250    }
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/HeuristicLab.Clients.Hive.Slave-3.4.csproj

    r5599 r5711  
    105105    <Compile Include="InvalidStateException.cs" />
    106106    <Compile Include="JobStatus.cs" />
    107     <Compile Include="Logger.cs">
    108       <SubType>Code</SubType>
    109     </Compile>
    110107    <Compile Include="MessageQueue.cs" />
    111108    <Compile Include="NetworkEnum.cs" />
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveClientCom.cs

    r5599 r5711  
    5252    private void SetupClientCom() {
    5353      DummyListener dummy = new DummyListener();
    54       pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(
    55         dummy, new NetNamedPipeBinding(), new EndpointAddress("net.pipe://localhost/HeuristicLabSlaveCom"));
     54      pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(dummy, "SlaveCommunicationServiceEndpoint");
    5655      ISlaveCommunication pipeProxy = pipeFactory.CreateChannel();
    5756      ClientCom = pipeProxy;
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_ascheibe.config

    r5599 r5711  
    3333    </services>
    3434    <client>
     35      <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
    3536      <endpoint address="http://services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService">
    3637        <identity>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_f005pc.config

    r5599 r5711  
    3333    </services>
    3434    <client>
     35      <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
    3536      <endpoint address="http://localhost/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService">
    3637        <identity>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_services.config

    r5599 r5711  
    3333    </services>
    3434    <client>
     35      <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
    3536      <endpoint address="http://services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService">
    3637        <identity>
Note: See TracChangeset for help on using the changeset viewer.