Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/25/10 15:58:36 (14 years ago)
Author:
cneumuel
Message:

made streaming wcf-services work with Transport-Security and net.tcp but with Message-Level Credentials (#1168)

Location:
branches/3.3-HiveMigration/sources/HeuristicLab.Hive
Files:
3 added
29 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Calendar/3.3/Properties/AssemblyInfo.cs

    r4305 r4316  
    5858// [assembly: AssemblyVersion("1.0.*")]
    5959[assembly: AssemblyVersion("3.3.0.0")]
    60 [assembly: AssemblyFileVersion("3.3.0.4302")]
     60[assembly: AssemblyFileVersion("3.3.0.4305")]
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/WcfSettings.cs

    r4305 r4316  
    9292    /// This method changes the endpoint-address while preserving the identity-certificate defined in the config file
    9393    /// </summary>
    94     public static void SetEndpointAddress(ServiceEndpoint endpoint, string address) {
     94    public static void SetEndpointAddress(ServiceEndpoint endpoint, string hostAddress) {
    9595      EndpointAddressBuilder builder = new EndpointAddressBuilder(endpoint.Address);
    96       builder.Uri = new Uri(address);
     96      UriBuilder uriBuilder = new UriBuilder(builder.Uri);
     97      uriBuilder.Host = hostAddress;
     98      builder.Uri = uriBuilder.Uri;
    9799      endpoint.Address = builder.ToEndpointAddress();
    98100    }
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/HiveExperiment.cs

    r4305 r4316  
    299299          OnStopped();
    300300        }
     301        finally {
     302          ServiceLocator.DisposeClientFacade(clientFacade);
     303        }
    301304
    302305        sendingJobsFinished = true;
     
    463466      fetchJobSemaphore.WaitOne();
    464467      ResponseObject<SerializedJob> jobResponse = clientFacade.GetLastSerializedResult(jobId, false, false);
     468      ServiceLocator.DisposeClientFacade(clientFacade);
    465469      IJob restoredObject = XmlParser.Deserialize<IJob>(new MemoryStream(jobResponse.Obj.SerializedJobData));
    466470      IOptimizer restoredOptimizer = ((OptimizerJob)restoredObject).Optimizer;
     
    562566                LogMessage("Polling results failed: " + e.Message);
    563567              }
     568              finally {
     569                ServiceLocator.DisposeClientFacade(clientFacade);
     570              }
    564571              Thread.Sleep(resultPollingIntervalMs);
    565572            } else {
     
    592599      Thread t = new Thread(() => {
    593600        IClientFacade clientFacade = CreateStreamedClientFacade();
    594         ResponseObject<SerializedJob> response;
    595         int retryCount = 0;
    596 
    597         Response snapShotResponse = clientFacade.RequestSnapshot(jobId);
    598         if (snapShotResponse.StatusMessage == ResponseStatus.RequestSnapshot_JobIsNotBeeingCalculated) {
    599           // job already finished
    600           Logger.Debug("HiveExperiment: Abort - GetLastResult(false)");
    601           response = clientFacade.GetLastSerializedResult(jobId, false, false);
    602           Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage);
    603         } else {
    604           // server sent snapshot request to client
    605           // poll until snapshot is ready
    606           do {
    607             Thread.Sleep(snapshotPollingIntervalMs);
    608             Logger.Debug("HiveExperiment: Abort - GetLastResult(true)");
    609             response = clientFacade.GetLastSerializedResult(jobId, false, true);
     601        try {
     602          ResponseObject<SerializedJob> response;
     603          int retryCount = 0;
     604
     605          Response snapShotResponse = clientFacade.RequestSnapshot(jobId);
     606          if (snapShotResponse.StatusMessage == ResponseStatus.RequestSnapshot_JobIsNotBeeingCalculated) {
     607            // job already finished
     608            Logger.Debug("HiveExperiment: Abort - GetLastResult(false)");
     609            response = clientFacade.GetLastSerializedResult(jobId, false, false);
    610610            Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage);
    611             retryCount++;
    612             // loop while
    613             // 1. problem with communication with server
    614             // 2. job result not yet ready
    615           } while (
    616             (retryCount < maxSnapshotRetries) && (
    617             response.StatusMessage == ResponseStatus.GetLastSerializedResult_JobResultNotYetThere)
    618             );
    619         }
    620         if (response.StatusMessage == ResponseStatus.Ok) {
    621           LogMessage(jobId, "Snapshot polling successfull for job " + jobId);
    622           UpdateSnapshot(response);
    623         } else {
    624           LogMessage(jobId, "Error: Polling of Snapshot failed for job " + jobId + ": " + response.StatusMessage);
     611          } else {
     612            // server sent snapshot request to client
     613            // poll until snapshot is ready
     614            do {
     615              Thread.Sleep(snapshotPollingIntervalMs);
     616              Logger.Debug("HiveExperiment: Abort - GetLastResult(true)");
     617              response = clientFacade.GetLastSerializedResult(jobId, false, true);
     618              Logger.Debug("HiveExperiment: Abort - Server: " + response.StatusMessage);
     619              retryCount++;
     620              // loop while
     621              // 1. problem with communication with server
     622              // 2. job result not yet ready
     623            } while (
     624              (retryCount < maxSnapshotRetries) && (
     625              response.StatusMessage == ResponseStatus.GetLastSerializedResult_JobResultNotYetThere)
     626              );
     627          }
     628          if (response.StatusMessage == ResponseStatus.Ok) {
     629            LogMessage(jobId, "Snapshot polling successfull for job " + jobId);
     630            UpdateSnapshot(response);
     631          } else {
     632            LogMessage(jobId, "Error: Polling of Snapshot failed for job " + jobId + ": " + response.StatusMessage);
     633          }
     634        }
     635        finally {
     636          ServiceLocator.DisposeClientFacade(clientFacade);
    625637        }
    626638      });
     
    870882      do {
    871883        try {
    872           clientFacade = ServiceLocator.CreateClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientServiceName));
     884          //clientFacade = ServiceLocator.CreateClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientServiceName));
     885          clientFacade = ServiceLocator.CreateClientFacade(Settings.Default.HiveServerIp);
    873886
    874887        } catch (EndpointNotFoundException exception) {
     
    884897      do {
    885898        try {
    886           clientFacade = ServiceLocator.CreateStreamedClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientStreamedServiceName));
    887 
     899          //clientFacade = ServiceLocator.CreateStreamedClientFacade(string.Format("http://{0}:{1}/{2}", Settings.Default.HiveServerIp, Settings.Default.HiveServerPort, WcfSettings.ClientStreamedServiceName));
     900          clientFacade = ServiceLocator.CreateStreamedClientFacade(Settings.Default.HiveServerIp);
    888901        } catch (EndpointNotFoundException exception) {
    889902          LogMessage("Could not connect to Server: " + exception.Message + ". Will try again in " + (resultPollingIntervalMs / 1000) + " sec.");
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/ServiceLocator.cs

    r4305 r4316  
    3131namespace HeuristicLab.Hive.Experiment {
    3232  internal class ServiceLocator {
    33     internal static IClientFacade CreateClientFacade(string url) {
     33    internal static IClientFacade CreateClientFacade(string hostAddress) {
    3434      ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("ClientHttpEndpoint");
    35       WcfSettings.SetEndpointAddress(factory.Endpoint, url);
     35      WcfSettings.SetEndpointAddress(factory.Endpoint, hostAddress);
    3636
    3737      factory.Credentials.UserName.UserName = Settings.Default.HiveUsername;
     
    4242    }
    4343
    44     internal static IClientFacade CreateStreamedClientFacade(string url) {
    45       ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("ClientStreamedHttpEndpoint");
    46       WcfSettings.SetEndpointAddress(factory.Endpoint, url);
     44    internal static IClientFacade CreateStreamedClientFacade(string hostAddress) {
     45      ChannelFactory<IClientFacade> factory = new ChannelFactory<IClientFacade>("ClientTcpStreamedEndpoint");
     46      WcfSettings.SetEndpointAddress(factory.Endpoint, hostAddress);
    4747
    4848      factory.Credentials.UserName.UserName = Settings.Default.HiveUsername;
     
    5252      return client;
    5353    }
     54
     55    public static void DisposeClientFacade(IClientFacade clientFacade) {
     56      ICommunicationObject obj = (ICommunicationObject)clientFacade;
     57      if (obj != null) {
     58        if (obj.State != CommunicationState.Faulted &&
     59            obj.State != CommunicationState.Closed) {
     60          try { obj.Close(); }
     61          catch (CommunicationObjectFaultedException) { obj.Abort(); }
     62          catch (TimeoutException) { obj.Abort(); }
     63          catch (Exception) {
     64            obj.Abort();
     65            throw;
     66          }
     67        } else
     68          obj.Abort();
     69      }
     70    }
    5471  }
    5572}
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/Tools

    • Property svn:ignore set to
      ClientFacade.cs
      app.config
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/app.config

    r4305 r4316  
    2828
    2929    <bindings>
    30       <basicHttpBinding>
    31         <binding name="ClientStreamedHttpEndpoint" closeTimeout="00:01:00"
    32             openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    33             allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
    34             maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    35             messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
    36             useDefaultWebProxy="true">
    37           <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
     30      <netTcpBinding>
     31        <binding name="ClientTcpStreamedEndpoint" closeTimeout="00:01:00"
     32            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
     33            transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions"
     34            hostNameComparisonMode="StrongWildcard" listenBacklog="10"
     35            maxBufferPoolSize="104857600" maxBufferSize="104857600" maxConnections="10"
     36            maxReceivedMessageSize="104857600">
     37          <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="104857600"
    3838              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    39           <security mode="None">
    40             <transport clientCredentialType="None" proxyCredentialType="None"
    41                 realm="" />
     39          <reliableSession ordered="true" inactivityTimeout="00:10:00"
     40              enabled="false" />
     41          <security mode="TransportWithMessageCredential">
     42            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
    4243            <message clientCredentialType="UserName" algorithmSuite="Default" />
    4344          </security>
    4445        </binding>
    45       </basicHttpBinding>
     46        <binding name="ClientTcpMexEndpoint" closeTimeout="00:01:00"
     47            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
     48            transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
     49            hostNameComparisonMode="StrongWildcard" listenBacklog="10"
     50            maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
     51            maxReceivedMessageSize="65536">
     52          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
     53              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     54          <reliableSession ordered="true" inactivityTimeout="00:10:00"
     55              enabled="false" />
     56          <security mode="None">
     57            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
     58            <message clientCredentialType="Windows" />
     59          </security>
     60        </binding>
     61      </netTcpBinding>
    4662      <wsHttpBinding>
    4763        <binding name="ClientHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
     
    6278          </security>
    6379        </binding>
    64         <binding name="ClientMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
    65             receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
    66             transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     80        <binding name="ClientHttpMexEndpoint" closeTimeout="00:01:00"
     81            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
     82            bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    6783            maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    6884            messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
     
    8197    </bindings>
    8298    <client>
     99      <endpoint address="net.tcp://localhost:9001/ClientServiceStreamed" behaviorConfiguration="ClientServiceBehaviour"
     100          binding="netTcpBinding" bindingConfiguration="ClientTcpStreamedEndpoint"
     101          contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientTcpStreamedEndpoint">
     102        <identity>
     103          <dns value="localhost" />
     104        </identity>
     105      </endpoint>
     106      <endpoint address="net.tcp://localhost:9001/ClientServiceStreamed/mex"
     107          binding="netTcpBinding" bindingConfiguration="ClientTcpMexEndpoint"
     108          contract="IClientFacade" name="ClientTcpMexEndpoint" />
    83109      <endpoint address="http://localhost:9000/ClientService" behaviorConfiguration="ClientServiceBehaviour" binding="wsHttpBinding"
    84110          bindingConfiguration="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade"
     
    88114        </identity>
    89115      </endpoint>
    90       <endpoint address="http://localhost:9000/ClientService/mex" binding="wsHttpBinding"
    91           bindingConfiguration="ClientMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade"
    92           name="ClientMexEndpoint" />
    93       <endpoint address="http://localhost:9000/ClientServiceStreamed"
    94           binding="basicHttpBinding" bindingConfiguration="ClientStreamedHttpEndpoint"
    95           contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientStreamedHttpEndpoint" />
     116      <endpoint address="http://localhost:9000/ClientService/mex"
     117          binding="wsHttpBinding" bindingConfiguration="ClientHttpMexEndpoint"
     118          contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" name="ClientHttpMexEndpoint" />
    96119    </client>
    97    
     120
    98121    <behaviors>
    99122      <endpointBehaviors>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/ServiceLocator.cs

    r4302 r4316  
    3030      if (serverConsoleFacade == null && Address != String.Empty && Port != String.Empty) {
    3131        ChannelFactory<IServerConsoleFacade> factory = new ChannelFactory<IServerConsoleFacade>("ServerConsoleHttpEndpoint");
    32         WcfSettings.SetEndpointAddress(factory.Endpoint, string.Format("http://{0}:{1}/{2}", Address, Port, WcfSettings.ServerConsoleServiceName));
     32        WcfSettings.SetEndpointAddress(factory.Endpoint, Address);
    3333
    3434        factory.Credentials.UserName.UserName = Username;
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/Tools

    • Property svn:ignore
      •  

        old new  
        11ServerConsoleFacade.cs
         2app.config
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/Tools/RecreateServiceConfig.bat

    r4305 r4316  
    44SvcUtil.exe ^
    55      /noLogo ^
    6       http://localhost1:9000/ServerConsoleService/?wsdl ^
     6      http://localhost:9000/ServerConsoleService?wsdl ^
    77      /config:app.config
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/app.config

    r4302 r4316  
    5151    </bindings>
    5252    <client>
    53       <endpoint address="http://locahost:9000/ServerConsoleService"
    54           binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint" behaviorConfiguration="ServerConsoleBehaviour"
     53      <endpoint address="http://localhost:9000/ServerConsoleService" behaviorConfiguration="ServerConsoleBehaviour"
     54          binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint"
    5555          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleHttpEndpoint">
    5656        <identity>
    5757          <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" />
    58           <dns value="localhost" />
    5958        </identity>
    6059      </endpoint>
    61       <endpoint address="http://locahost:9000/ServerConsoleService/mex"
     60      <endpoint address="http://localhost:9000/ServerConsoleService/mex" behaviorConfiguration="ServerConsoleBehaviour"
    6261          binding="wsHttpBinding" bindingConfiguration="ServerConsoleMexEndpoint"
    6362          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleMexEndpoint" />
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/app.config

    r4305 r4316  
    2828   
    2929    <bindings>
    30       <basicHttpBinding>
    31         <binding name="StreamedHttpBinding" sendTimeout="00:10:00" maxBufferSize="104857600"
    32           maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"
    33           transferMode="Streamed">
     30      <netTcpBinding>
     31        <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed"
     32          maxBufferPoolSize="104857600" maxBufferSize="104857600" maxReceivedMessageSize="104857600">
    3433          <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" />
    35           <security>
    36             <transport>
     34          <security mode="TransportWithMessageCredential">
     35            <transport clientCredentialType="Certificate">
    3736              <extendedProtectionPolicy policyEnforcement="Never" />
    3837            </transport>
     38            <message clientCredentialType="UserName" />
    3939          </security>
    4040        </binding>
    41       </basicHttpBinding>
     41      </netTcpBinding>
    4242      <wsHttpBinding>
    4343        <binding name="HttpBinding">
    44           <security>
     44          <security mode="Message">
    4545            <transport>
    4646              <extendedProtectionPolicy policyEnforcement="Never" />
     
    5454      <serviceBehaviors>
    5555        <behavior name="ServiceBehaviour">
    56           <serviceMetadata httpGetEnabled="true" />
     56          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
    5757          <serviceDebug includeExceptionDetailInFaults="true" />
    5858          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     
    7070    <services>
    7171      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
    72         <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding"
    73           bindingConfiguration="HttpBinding" name="SlaveHttpEndpoint"
    74           contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
     72        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HttpBinding"
     73          name="SlaveHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
    7574        <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint"
    7675          contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
     76        <endpoint binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding"
     77          name="SlaveTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
     78        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
     79          name="SlaveTcpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
    7780        <host>
    7881          <baseAddresses>
    7982            <add baseAddress="http://localhost:9000/SlaveService" />
     83            <add baseAddress="net.tcp://localhost:9001/SlaveServiceStreamed" />
    8084          </baseAddresses>
    8185        </host>
    8286      </service>
    8387      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
    84         <endpoint address="http://localhost:9000/ServerConsoleService"
    85           binding="wsHttpBinding" bindingConfiguration="HttpBinding" name="ServerConsoleHttpEndpoint"
    86           contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
     88        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HttpBinding"
     89          name="ServerConsoleHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
    8790        <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint"
    8891          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" />
     
    9497      </service>
    9598      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade">
    96         <endpoint address="http://localhost:9000/ClientService" binding="wsHttpBinding"
    97           bindingConfiguration="HttpBinding" name="ClientHttpEndpoint"
    98           contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
    99         <endpoint address="mex" binding="mexHttpBinding" name="ClientMexEndpoint"
    100           contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
    101         <endpoint address="http://localhost:9000/ClientServiceStreamed"
    102           binding="basicHttpBinding" bindingConfiguration="StreamedHttpBinding"
    103           name="ClientStreamedHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
     99        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding"
     100          name="ClientTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
     101        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
     102          name="ClientTcpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
     103        <endpoint binding="wsHttpBinding" bindingConfiguration="HttpBinding"
     104          name="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
     105        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
     106          name="ClientHttpMexEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
    104107        <host>
    105108          <baseAddresses>
     109            <add baseAddress="net.tcp://localhost:9001/ClientServiceStreamed" />
    106110            <add baseAddress="http://localhost:9000/ClientService" />
    107111          </baseAddresses>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/HeuristicLabHiveServerApplication.cs

    r4305 r4316  
    6868      }
    6969      catch (AddressAccessDeniedException ex) {
    70         throw new Exception("Unable to start WCF-Services due to missing rights. Run the following command as administrator: \"netsh http add urlacl url=http://+" + WcfSettings.DefaultPort + "/ user=MYMACHINE\\UserName\". See inner exception for more details.", ex);
     70        throw new Exception("Unable to start WCF-Services due to missing rights. Run the following command as administrator: \"netsh http add urlacl url=http://+:" + WcfSettings.DefaultPort + "/ user=MYMACHINE\\UserName\". See inner exception for more details.", ex);
    7171      }
    7272    }
    7373
    74     private IDictionary<string, Uri> GetBaseAddresses() {
    75       IDictionary<string, Uri> dict = new Dictionary<string, Uri>();
     74    private IEnumerable<Uri> GetBaseAddresses() {
     75      List<Uri> list = new List<Uri>();
    7676      foreach (KeyValuePair<string, ServiceHost> host in serviceHosts) {
    7777        foreach (var addr in host.Value.BaseAddresses) {
    78           dict.Add(host.Key, addr);
     78          list.Add(addr);
    7979        }
    8080      }
    81       return dict;
     81      return list;
    8282    }
    8383  }
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/MainForm.Designer.cs

    r4254 r4316  
    6666          this.ni.Text = "notifyIcon1";
    6767          this.ni.Visible = true;
     68          this.ni.MouseClick += new System.Windows.Forms.MouseEventHandler(this.ni_MouseClick);
    6869          //
    6970          // ctxNotifyMenu
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server/3.3/MainForm.cs

    r4305 r4316  
    1111namespace HeuristicLab.Hive.Server {
    1212  public partial class MainForm : Form {
    13     public MainForm(IDictionary<string, Uri> addresses) {
     13    public MainForm(IEnumerable<Uri> addresses) {
    1414      InitializeComponent();
    1515
    16       Uri uri;
    1716      StringBuilder servicesTxt = new StringBuilder();
    18       addresses.TryGetValue(WcfSettings.SlaveServiceName, out uri);
    19       if (uri != null)
    20         servicesTxt.AppendLine(String.Format("Server Slave: {0}", uri));
    21       addresses.TryGetValue(WcfSettings.ServerConsoleServiceName, out uri);
    22       if (uri != null)
    23         servicesTxt.AppendLine(String.Format("Server Console: {0}", uri));
    24       addresses.TryGetValue(WcfSettings.ClientServiceName, out uri);
    25       if (uri != null)
    26         servicesTxt.AppendLine(String.Format("Execution Engine: {0}", uri));
     17      foreach (Uri uri in addresses) {
     18        servicesTxt.AppendLine(uri.ToString());
     19      }
    2720
    2821      rtfServices.AppendText(servicesTxt.ToString());
     
    4942      this.Visible = false;
    5043    }
     44
     45    private void ni_MouseClick(object sender, MouseEventArgs e) {
     46      ShowInfo(sender, e);
     47    }
    5148  }
    5249}
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/HeuristicLab.Hive.Slave.Communication-3.3.csproj

    r4305 r4316  
    122122      <DependentUpon>Settings.settings</DependentUpon>
    123123    </Compile>
     124    <Compile Include="ServiceLocator.cs" />
    124125    <Compile Include="WcfService.cs" />
    125126  </ItemGroup>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/SlaveFacade.wsdl

    r4305 r4316  
    638638    </wsp:ExactlyOne>
    639639  </wsp:Policy>
     640  <wsp:Policy wsu:Id="SlaveTcpStreamedEndpoint_policy">
     641    <wsp:ExactlyOne>
     642      <wsp:All>
     643        <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1" />
     644        <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     645          <wsp:Policy>
     646            <sp:TransportToken>
     647              <wsp:Policy>
     648                <msf:SslTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" />
     649              </wsp:Policy>
     650            </sp:TransportToken>
     651            <sp:AlgorithmSuite>
     652              <wsp:Policy>
     653                <sp:Basic256 />
     654              </wsp:Policy>
     655            </sp:AlgorithmSuite>
     656            <sp:Layout>
     657              <wsp:Policy>
     658                <sp:Strict />
     659              </wsp:Policy>
     660            </sp:Layout>
     661            <sp:IncludeTimestamp />
     662          </wsp:Policy>
     663        </sp:TransportBinding>
     664        <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     665          <wsp:Policy>
     666            <sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
     667              <wsp:Policy>
     668                <sp:BootstrapPolicy>
     669                  <wsp:Policy>
     670                    <sp:SignedParts>
     671                      <sp:Body />
     672                      <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
     673                      <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
     674                      <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
     675                      <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
     676                      <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
     677                      <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
     678                      <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
     679                    </sp:SignedParts>
     680                    <sp:EncryptedParts>
     681                      <sp:Body />
     682                    </sp:EncryptedParts>
     683                    <sp:TransportBinding>
     684                      <wsp:Policy>
     685                        <sp:TransportToken>
     686                          <wsp:Policy>
     687                            <msf:SslTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" />
     688                          </wsp:Policy>
     689                        </sp:TransportToken>
     690                        <sp:AlgorithmSuite>
     691                          <wsp:Policy>
     692                            <sp:Basic256 />
     693                          </wsp:Policy>
     694                        </sp:AlgorithmSuite>
     695                        <sp:Layout>
     696                          <wsp:Policy>
     697                            <sp:Strict />
     698                          </wsp:Policy>
     699                        </sp:Layout>
     700                        <sp:IncludeTimestamp />
     701                      </wsp:Policy>
     702                    </sp:TransportBinding>
     703                    <sp:SignedSupportingTokens>
     704                      <wsp:Policy>
     705                        <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
     706                          <wsp:Policy>
     707                            <sp:WssUsernameToken10 />
     708                          </wsp:Policy>
     709                        </sp:UsernameToken>
     710                      </wsp:Policy>
     711                    </sp:SignedSupportingTokens>
     712                    <sp:Wss11>
     713                      <wsp:Policy />
     714                    </sp:Wss11>
     715                    <sp:Trust10>
     716                      <wsp:Policy>
     717                        <sp:MustSupportIssuedTokens />
     718                        <sp:RequireClientEntropy />
     719                        <sp:RequireServerEntropy />
     720                      </wsp:Policy>
     721                    </sp:Trust10>
     722                  </wsp:Policy>
     723                </sp:BootstrapPolicy>
     724              </wsp:Policy>
     725            </sp:SecureConversationToken>
     726          </wsp:Policy>
     727        </sp:EndorsingSupportingTokens>
     728        <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     729          <wsp:Policy />
     730        </sp:Wss11>
     731        <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
     732          <wsp:Policy>
     733            <sp:MustSupportIssuedTokens />
     734            <sp:RequireClientEntropy />
     735            <sp:RequireServerEntropy />
     736          </wsp:Policy>
     737        </sp:Trust10>
     738        <msf:Streamed xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy" />
     739        <wsaw:UsingAddressing />
     740      </wsp:All>
     741    </wsp:ExactlyOne>
     742  </wsp:Policy>
    640743  <wsdl:import namespace="http://schemas.microsoft.com/ws/2005/02/mex/bindings" location="http://localhost:9000/SlaveService?wsdl=wsdl0" />
    641744  <wsdl:types>
     
    9491052      <wsdl:output>
    9501053        <wsp:PolicyReference URI="#SlaveHttpEndpoint_ProcessSnapshotStreamed_output_policy" />
     1054        <soap12:body use="literal" />
     1055      </wsdl:output>
     1056    </wsdl:operation>
     1057  </wsdl:binding>
     1058  <wsdl:binding name="SlaveTcpStreamedEndpoint" type="tns:ISlaveFacade">
     1059    <wsp:PolicyReference URI="#SlaveTcpStreamedEndpoint_policy" />
     1060    <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
     1061    <wsdl:operation name="Login">
     1062      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Login" style="document" />
     1063      <wsdl:input>
     1064        <soap12:body use="literal" />
     1065      </wsdl:input>
     1066      <wsdl:output>
     1067        <soap12:body use="literal" />
     1068      </wsdl:output>
     1069    </wsdl:operation>
     1070    <wsdl:operation name="ProcessHeartBeat">
     1071      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat" style="document" />
     1072      <wsdl:input>
     1073        <soap12:body use="literal" />
     1074      </wsdl:input>
     1075      <wsdl:output>
     1076        <soap12:body use="literal" />
     1077      </wsdl:output>
     1078    </wsdl:operation>
     1079    <wsdl:operation name="GetJob">
     1080      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetJob" style="document" />
     1081      <wsdl:input>
     1082        <soap12:body use="literal" />
     1083      </wsdl:input>
     1084      <wsdl:output>
     1085        <soap12:body use="literal" />
     1086      </wsdl:output>
     1087    </wsdl:operation>
     1088    <wsdl:operation name="StoreFinishedJobResult">
     1089      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult" style="document" />
     1090      <wsdl:input>
     1091        <soap12:body use="literal" />
     1092      </wsdl:input>
     1093      <wsdl:output>
     1094        <soap12:body use="literal" />
     1095      </wsdl:output>
     1096    </wsdl:operation>
     1097    <wsdl:operation name="ProcessSnapshot">
     1098      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot" style="document" />
     1099      <wsdl:input>
     1100        <soap12:body use="literal" />
     1101      </wsdl:input>
     1102      <wsdl:output>
     1103        <soap12:body use="literal" />
     1104      </wsdl:output>
     1105    </wsdl:operation>
     1106    <wsdl:operation name="Logout">
     1107      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Logout" style="document" />
     1108      <wsdl:input>
     1109        <soap12:body use="literal" />
     1110      </wsdl:input>
     1111      <wsdl:output>
     1112        <soap12:body use="literal" />
     1113      </wsdl:output>
     1114    </wsdl:operation>
     1115    <wsdl:operation name="IsJobStillNeeded">
     1116      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded" style="document" />
     1117      <wsdl:input>
     1118        <soap12:body use="literal" />
     1119      </wsdl:input>
     1120      <wsdl:output>
     1121        <soap12:body use="literal" />
     1122      </wsdl:output>
     1123    </wsdl:operation>
     1124    <wsdl:operation name="GetPlugins">
     1125      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetPlugins" style="document" />
     1126      <wsdl:input>
     1127        <soap12:body use="literal" />
     1128      </wsdl:input>
     1129      <wsdl:output>
     1130        <soap12:body use="literal" />
     1131      </wsdl:output>
     1132    </wsdl:operation>
     1133    <wsdl:operation name="GetCalendar">
     1134      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetCalendar" style="document" />
     1135      <wsdl:input>
     1136        <soap12:body use="literal" />
     1137      </wsdl:input>
     1138      <wsdl:output>
     1139        <soap12:body use="literal" />
     1140      </wsdl:output>
     1141    </wsdl:operation>
     1142    <wsdl:operation name="SetCalendarStatus">
     1143      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus" style="document" />
     1144      <wsdl:input>
     1145        <soap12:body use="literal" />
     1146      </wsdl:input>
     1147      <wsdl:output>
     1148        <soap12:body use="literal" />
     1149      </wsdl:output>
     1150    </wsdl:operation>
     1151    <wsdl:operation name="GetStreamedJob">
     1152      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedJob" style="document" />
     1153      <wsdl:input>
     1154        <soap12:body use="literal" />
     1155      </wsdl:input>
     1156      <wsdl:output>
     1157        <soap12:body use="literal" />
     1158      </wsdl:output>
     1159    </wsdl:operation>
     1160    <wsdl:operation name="GetStreamedPlugins">
     1161      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedPlugins" style="document" />
     1162      <wsdl:input>
     1163        <soap12:body use="literal" />
     1164      </wsdl:input>
     1165      <wsdl:output>
     1166        <soap12:body use="literal" />
     1167      </wsdl:output>
     1168    </wsdl:operation>
     1169    <wsdl:operation name="StoreFinishedJobResultStreamed">
     1170      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed" style="document" />
     1171      <wsdl:input>
     1172        <soap12:body use="literal" />
     1173      </wsdl:input>
     1174      <wsdl:output>
     1175        <soap12:body use="literal" />
     1176      </wsdl:output>
     1177    </wsdl:operation>
     1178    <wsdl:operation name="ProcessSnapshotStreamed">
     1179      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed" style="document" />
     1180      <wsdl:input>
     1181        <soap12:body use="literal" />
     1182      </wsdl:input>
     1183      <wsdl:output>
    9511184        <soap12:body use="literal" />
    9521185      </wsdl:output>
     
    9731206      </wsa10:EndpointReference>
    9741207    </wsdl:port>
     1208    <wsdl:port name="SlaveTcpStreamedEndpoint" binding="tns:SlaveTcpStreamedEndpoint">
     1209      <soap12:address location="net.tcp://localhost:9001/SlaveServiceStreamed" />
     1210      <wsa10:EndpointReference>
     1211        <wsa10:Address>net.tcp://localhost:9001/SlaveServiceStreamed</wsa10:Address>
     1212        <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
     1213          <Dns>localhost</Dns>
     1214        </Identity>
     1215      </wsa10:EndpointReference>
     1216    </wsdl:port>
     1217    <wsdl:port name="SlaveTcpMexEndpoint" binding="i0:SlaveTcpMexEndpoint">
     1218      <soap12:address location="net.tcp://localhost:9001/SlaveServiceStreamed/mex" />
     1219      <wsa10:EndpointReference>
     1220        <wsa10:Address>net.tcp://localhost:9001/SlaveServiceStreamed/mex</wsa10:Address>
     1221      </wsa10:EndpointReference>
     1222    </wsdl:port>
    9751223  </wsdl:service>
    9761224</wsdl:definitions>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/SlaveService.wsdl

    r4305 r4316  
    44    <wsp:ExactlyOne>
    55      <wsp:All>
     6        <wsaw:UsingAddressing />
     7      </wsp:All>
     8    </wsp:ExactlyOne>
     9  </wsp:Policy>
     10  <wsp:Policy wsu:Id="SlaveTcpMexEndpoint_policy">
     11    <wsp:ExactlyOne>
     12      <wsp:All>
     13        <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1" />
    614        <wsaw:UsingAddressing />
    715      </wsp:All>
     
    140148    </wsdl:operation>
    141149  </wsdl:binding>
     150  <wsdl:binding name="SlaveTcpMexEndpoint" type="i0:ISlaveFacade">
     151    <wsp:PolicyReference URI="#SlaveTcpMexEndpoint_policy" />
     152    <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
     153    <wsdl:operation name="Login">
     154      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Login" style="document" />
     155      <wsdl:input>
     156        <soap12:body use="literal" />
     157      </wsdl:input>
     158      <wsdl:output>
     159        <soap12:body use="literal" />
     160      </wsdl:output>
     161    </wsdl:operation>
     162    <wsdl:operation name="ProcessHeartBeat">
     163      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessHeartBeat" style="document" />
     164      <wsdl:input>
     165        <soap12:body use="literal" />
     166      </wsdl:input>
     167      <wsdl:output>
     168        <soap12:body use="literal" />
     169      </wsdl:output>
     170    </wsdl:operation>
     171    <wsdl:operation name="GetJob">
     172      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetJob" style="document" />
     173      <wsdl:input>
     174        <soap12:body use="literal" />
     175      </wsdl:input>
     176      <wsdl:output>
     177        <soap12:body use="literal" />
     178      </wsdl:output>
     179    </wsdl:operation>
     180    <wsdl:operation name="StoreFinishedJobResult">
     181      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/StoreFinishedJobResult" style="document" />
     182      <wsdl:input>
     183        <soap12:body use="literal" />
     184      </wsdl:input>
     185      <wsdl:output>
     186        <soap12:body use="literal" />
     187      </wsdl:output>
     188    </wsdl:operation>
     189    <wsdl:operation name="ProcessSnapshot">
     190      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/ProcessSnapshot" style="document" />
     191      <wsdl:input>
     192        <soap12:body use="literal" />
     193      </wsdl:input>
     194      <wsdl:output>
     195        <soap12:body use="literal" />
     196      </wsdl:output>
     197    </wsdl:operation>
     198    <wsdl:operation name="Logout">
     199      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/Logout" style="document" />
     200      <wsdl:input>
     201        <soap12:body use="literal" />
     202      </wsdl:input>
     203      <wsdl:output>
     204        <soap12:body use="literal" />
     205      </wsdl:output>
     206    </wsdl:operation>
     207    <wsdl:operation name="IsJobStillNeeded">
     208      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/IsJobStillNeeded" style="document" />
     209      <wsdl:input>
     210        <soap12:body use="literal" />
     211      </wsdl:input>
     212      <wsdl:output>
     213        <soap12:body use="literal" />
     214      </wsdl:output>
     215    </wsdl:operation>
     216    <wsdl:operation name="GetPlugins">
     217      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetPlugins" style="document" />
     218      <wsdl:input>
     219        <soap12:body use="literal" />
     220      </wsdl:input>
     221      <wsdl:output>
     222        <soap12:body use="literal" />
     223      </wsdl:output>
     224    </wsdl:operation>
     225    <wsdl:operation name="GetCalendar">
     226      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/GetCalendar" style="document" />
     227      <wsdl:input>
     228        <soap12:body use="literal" />
     229      </wsdl:input>
     230      <wsdl:output>
     231        <soap12:body use="literal" />
     232      </wsdl:output>
     233    </wsdl:operation>
     234    <wsdl:operation name="SetCalendarStatus">
     235      <soap12:operation soapAction="http://tempuri.org/ISlaveCommunicator/SetCalendarStatus" style="document" />
     236      <wsdl:input>
     237        <soap12:body use="literal" />
     238      </wsdl:input>
     239      <wsdl:output>
     240        <soap12:body use="literal" />
     241      </wsdl:output>
     242    </wsdl:operation>
     243    <wsdl:operation name="GetStreamedJob">
     244      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedJob" style="document" />
     245      <wsdl:input>
     246        <soap12:body use="literal" />
     247      </wsdl:input>
     248      <wsdl:output>
     249        <soap12:body use="literal" />
     250      </wsdl:output>
     251    </wsdl:operation>
     252    <wsdl:operation name="GetStreamedPlugins">
     253      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/GetStreamedPlugins" style="document" />
     254      <wsdl:input>
     255        <soap12:body use="literal" />
     256      </wsdl:input>
     257      <wsdl:output>
     258        <soap12:body use="literal" />
     259      </wsdl:output>
     260    </wsdl:operation>
     261    <wsdl:operation name="StoreFinishedJobResultStreamed">
     262      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/StoreFinishedJobResultStreamed" style="document" />
     263      <wsdl:input>
     264        <soap12:body use="literal" />
     265      </wsdl:input>
     266      <wsdl:output>
     267        <soap12:body use="literal" />
     268      </wsdl:output>
     269    </wsdl:operation>
     270    <wsdl:operation name="ProcessSnapshotStreamed">
     271      <soap12:operation soapAction="http://tempuri.org/ISlaveFacade/ProcessSnapshotStreamed" style="document" />
     272      <wsdl:input>
     273        <soap12:body use="literal" />
     274      </wsdl:input>
     275      <wsdl:output>
     276        <soap12:body use="literal" />
     277      </wsdl:output>
     278    </wsdl:operation>
     279  </wsdl:binding>
    142280</wsdl:definitions>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/configuration.svcinfo

    r4305 r4316  
    33  <behaviors />
    44  <bindings>
     5    <binding digest="System.ServiceModel.Configuration.NetTcpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; listenBacklog=&quot;10&quot; maxBufferSize=&quot;65536&quot; maxConnections=&quot;10&quot; name=&quot;SlaveTcpStreamedEndpoint&quot; transactionFlow=&quot;false&quot; transactionProtocol=&quot;OleTransactions&quot; transferMode=&quot;Streamed&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;TransportWithMessageCredential&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; protectionLevel=&quot;EncryptAndSign&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="netTcpBinding" name="SlaveTcpStreamedEndpoint" />
     6    <binding digest="System.ServiceModel.Configuration.NetTcpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; listenBacklog=&quot;10&quot; maxBufferSize=&quot;65536&quot; maxConnections=&quot;10&quot; name=&quot;SlaveTcpMexEndpoint&quot; transactionFlow=&quot;false&quot; transactionProtocol=&quot;OleTransactions&quot; transferMode=&quot;Buffered&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message clientCredentialType=&quot;Windows&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; protectionLevel=&quot;EncryptAndSign&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="netTcpBinding" name="SlaveTcpMexEndpoint" />
    57    <binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; messageEncoding=&quot;Text&quot; name=&quot;SlaveHttpEndpoint&quot; textEncoding=&quot;utf-8&quot; transactionFlow=&quot;false&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;Message&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;UserName&quot; negotiateServiceCredential=&quot;true&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="wsHttpBinding" name="SlaveHttpEndpoint" />
    68    <binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; messageEncoding=&quot;Text&quot; name=&quot;SlaveMexEndpoint&quot; textEncoding=&quot;utf-8&quot; transactionFlow=&quot;false&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;None&quot;&gt;&lt;message clientCredentialType=&quot;Windows&quot; negotiateServiceCredential=&quot;true&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="wsHttpBinding" name="SlaveMexEndpoint" />
     
    911    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9000/SlaveService&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;SlaveHttpEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveHttpEndpoint&quot;&gt;&lt;identity&gt;&lt;certificate encodedValue=&quot;AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9000/SlaveService&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;SlaveHttpEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveHttpEndpoint&quot;&gt;&lt;identity&gt;&lt;certificate encodedValue=&quot;AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="SlaveService.ISlaveFacade" name="SlaveHttpEndpoint" />
    1012    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9000/SlaveService/mex&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;SlaveMexEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveMexEndpoint&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9000/SlaveService/mex&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;SlaveMexEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveMexEndpoint&quot; /&gt;" contractName="SlaveService.ISlaveFacade" name="SlaveMexEndpoint" />
     13    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;net.tcp://localhost:9001/SlaveServiceStreamed&quot; binding=&quot;netTcpBinding&quot; bindingConfiguration=&quot;SlaveTcpStreamedEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveTcpStreamedEndpoint&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;net.tcp://localhost:9001/SlaveServiceStreamed&quot; binding=&quot;netTcpBinding&quot; bindingConfiguration=&quot;SlaveTcpStreamedEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveTcpStreamedEndpoint&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint" />
     14    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;net.tcp://localhost:9001/SlaveServiceStreamed/mex&quot; binding=&quot;netTcpBinding&quot; bindingConfiguration=&quot;SlaveTcpMexEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveTcpMexEndpoint&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;net.tcp://localhost:9001/SlaveServiceStreamed/mex&quot; binding=&quot;netTcpBinding&quot; bindingConfiguration=&quot;SlaveTcpMexEndpoint&quot; contract=&quot;SlaveService.ISlaveFacade&quot; name=&quot;SlaveTcpMexEndpoint&quot; /&gt;" contractName="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" />
    1115  </endpoints>
    1216</configurationSnapshot>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveService/configuration91.svcinfo

    r4305 r4316  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="qLWn3fCZTwKyYJV5+O0lOFyiNpQ=">
     2<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="JGDzzEU6ZhHdCWJVHV2k7+yia3Q=">
    33  <bindingConfigurations>
     4    <bindingConfiguration bindingType="netTcpBinding" name="SlaveTcpStreamedEndpoint">
     5      <properties>
     6        <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     7          <serializedValue>SlaveTcpStreamedEndpoint</serializedValue>
     8        </property>
     9        <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     10          <serializedValue>00:01:00</serializedValue>
     11        </property>
     12        <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     13          <serializedValue>00:01:00</serializedValue>
     14        </property>
     15        <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     16          <serializedValue>00:10:00</serializedValue>
     17        </property>
     18        <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     19          <serializedValue>00:01:00</serializedValue>
     20        </property>
     21        <property path="/transactionFlow" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     22          <serializedValue>False</serializedValue>
     23        </property>
     24        <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     25          <serializedValue>Streamed</serializedValue>
     26        </property>
     27        <property path="/transactionProtocol" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransactionProtocol, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     28          <serializedValue>OleTransactions</serializedValue>
     29        </property>
     30        <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     31          <serializedValue>StrongWildcard</serializedValue>
     32        </property>
     33        <property path="/listenBacklog" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     34          <serializedValue>10</serializedValue>
     35        </property>
     36        <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     37          <serializedValue>524288</serializedValue>
     38        </property>
     39        <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     40          <serializedValue>65536</serializedValue>
     41        </property>
     42        <property path="/maxConnections" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     43          <serializedValue>10</serializedValue>
     44        </property>
     45        <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     46          <serializedValue>65536</serializedValue>
     47        </property>
     48        <property path="/portSharingEnabled" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     49          <serializedValue>False</serializedValue>
     50        </property>
     51        <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     52          <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
     53        </property>
     54        <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     55          <serializedValue>32</serializedValue>
     56        </property>
     57        <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     58          <serializedValue>8192</serializedValue>
     59        </property>
     60        <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     61          <serializedValue>16384</serializedValue>
     62        </property>
     63        <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     64          <serializedValue>4096</serializedValue>
     65        </property>
     66        <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     67          <serializedValue>16384</serializedValue>
     68        </property>
     69        <property path="/reliableSession" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     70          <serializedValue>System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement</serializedValue>
     71        </property>
     72        <property path="/reliableSession/ordered" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     73          <serializedValue>True</serializedValue>
     74        </property>
     75        <property path="/reliableSession/inactivityTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     76          <serializedValue>00:10:00</serializedValue>
     77        </property>
     78        <property path="/reliableSession/enabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     79          <serializedValue>False</serializedValue>
     80        </property>
     81        <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.NetTcpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     82          <serializedValue>System.ServiceModel.Configuration.NetTcpSecurityElement</serializedValue>
     83        </property>
     84        <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     85          <serializedValue>TransportWithMessageCredential</serializedValue>
     86        </property>
     87        <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TcpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     88          <serializedValue>System.ServiceModel.Configuration.TcpTransportSecurityElement</serializedValue>
     89        </property>
     90        <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TcpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     91          <serializedValue>Windows</serializedValue>
     92        </property>
     93        <property path="/security/transport/protectionLevel" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.Security.ProtectionLevel, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     94          <serializedValue>EncryptAndSign</serializedValue>
     95        </property>
     96        <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     97          <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
     98        </property>
     99        <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     100          <serializedValue>Never</serializedValue>
     101        </property>
     102        <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     103          <serializedValue>TransportSelected</serializedValue>
     104        </property>
     105        <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     106          <serializedValue>(Collection)</serializedValue>
     107        </property>
     108        <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.MessageSecurityOverTcpElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     109          <serializedValue>System.ServiceModel.Configuration.MessageSecurityOverTcpElement</serializedValue>
     110        </property>
     111        <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.MessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     112          <serializedValue>UserName</serializedValue>
     113        </property>
     114        <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     115          <serializedValue>Default</serializedValue>
     116        </property>
     117      </properties>
     118    </bindingConfiguration>
     119    <bindingConfiguration bindingType="netTcpBinding" name="SlaveTcpMexEndpoint">
     120      <properties>
     121        <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     122          <serializedValue>SlaveTcpMexEndpoint</serializedValue>
     123        </property>
     124        <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     125          <serializedValue>00:01:00</serializedValue>
     126        </property>
     127        <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     128          <serializedValue>00:01:00</serializedValue>
     129        </property>
     130        <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     131          <serializedValue>00:10:00</serializedValue>
     132        </property>
     133        <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     134          <serializedValue>00:01:00</serializedValue>
     135        </property>
     136        <property path="/transactionFlow" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     137          <serializedValue>False</serializedValue>
     138        </property>
     139        <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     140          <serializedValue>Buffered</serializedValue>
     141        </property>
     142        <property path="/transactionProtocol" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransactionProtocol, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     143          <serializedValue>OleTransactions</serializedValue>
     144        </property>
     145        <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     146          <serializedValue>StrongWildcard</serializedValue>
     147        </property>
     148        <property path="/listenBacklog" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     149          <serializedValue>10</serializedValue>
     150        </property>
     151        <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     152          <serializedValue>524288</serializedValue>
     153        </property>
     154        <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     155          <serializedValue>65536</serializedValue>
     156        </property>
     157        <property path="/maxConnections" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     158          <serializedValue>10</serializedValue>
     159        </property>
     160        <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     161          <serializedValue>65536</serializedValue>
     162        </property>
     163        <property path="/portSharingEnabled" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     164          <serializedValue>False</serializedValue>
     165        </property>
     166        <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     167          <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
     168        </property>
     169        <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     170          <serializedValue>32</serializedValue>
     171        </property>
     172        <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     173          <serializedValue>8192</serializedValue>
     174        </property>
     175        <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     176          <serializedValue>16384</serializedValue>
     177        </property>
     178        <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     179          <serializedValue>4096</serializedValue>
     180        </property>
     181        <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     182          <serializedValue>16384</serializedValue>
     183        </property>
     184        <property path="/reliableSession" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     185          <serializedValue>System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement</serializedValue>
     186        </property>
     187        <property path="/reliableSession/ordered" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     188          <serializedValue>True</serializedValue>
     189        </property>
     190        <property path="/reliableSession/inactivityTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     191          <serializedValue>00:10:00</serializedValue>
     192        </property>
     193        <property path="/reliableSession/enabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     194          <serializedValue>False</serializedValue>
     195        </property>
     196        <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.NetTcpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     197          <serializedValue>System.ServiceModel.Configuration.NetTcpSecurityElement</serializedValue>
     198        </property>
     199        <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     200          <serializedValue>None</serializedValue>
     201        </property>
     202        <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TcpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     203          <serializedValue>System.ServiceModel.Configuration.TcpTransportSecurityElement</serializedValue>
     204        </property>
     205        <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TcpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     206          <serializedValue>Windows</serializedValue>
     207        </property>
     208        <property path="/security/transport/protectionLevel" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.Security.ProtectionLevel, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     209          <serializedValue>EncryptAndSign</serializedValue>
     210        </property>
     211        <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     212          <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
     213        </property>
     214        <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     215          <serializedValue>Never</serializedValue>
     216        </property>
     217        <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     218          <serializedValue>TransportSelected</serializedValue>
     219        </property>
     220        <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     221          <serializedValue>(Collection)</serializedValue>
     222        </property>
     223        <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.MessageSecurityOverTcpElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     224          <serializedValue>System.ServiceModel.Configuration.MessageSecurityOverTcpElement</serializedValue>
     225        </property>
     226        <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.MessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     227          <serializedValue>Windows</serializedValue>
     228        </property>
     229        <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     230          <serializedValue>Default</serializedValue>
     231        </property>
     232      </properties>
     233    </bindingConfiguration>
    4234    <bindingConfiguration bindingType="wsHttpBinding" name="SlaveHttpEndpoint">
    5235      <properties>
     
    422652      </properties>
    423653    </endpoint>
     654    <endpoint name="SlaveTcpStreamedEndpoint" contract="SlaveService.ISlaveFacade" bindingType="netTcpBinding" address="net.tcp://localhost:9001/SlaveServiceStreamed" bindingConfiguration="SlaveTcpStreamedEndpoint">
     655      <properties>
     656        <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     657          <serializedValue>net.tcp://localhost:9001/SlaveServiceStreamed</serializedValue>
     658        </property>
     659        <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     660          <serializedValue />
     661        </property>
     662        <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     663          <serializedValue>netTcpBinding</serializedValue>
     664        </property>
     665        <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     666          <serializedValue>SlaveTcpStreamedEndpoint</serializedValue>
     667        </property>
     668        <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     669          <serializedValue>SlaveService.ISlaveFacade</serializedValue>
     670        </property>
     671        <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     672          <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
     673        </property>
     674        <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     675          <serializedValue>&lt;Header /&gt;</serializedValue>
     676        </property>
     677        <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     678          <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
     679        </property>
     680        <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     681          <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
     682        </property>
     683        <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     684          <serializedValue />
     685        </property>
     686        <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     687          <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
     688        </property>
     689        <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     690          <serializedValue />
     691        </property>
     692        <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     693          <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
     694        </property>
     695        <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     696          <serializedValue>localhost</serializedValue>
     697        </property>
     698        <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     699          <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
     700        </property>
     701        <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     702          <serializedValue />
     703        </property>
     704        <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     705          <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
     706        </property>
     707        <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     708          <serializedValue />
     709        </property>
     710        <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     711          <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
     712        </property>
     713        <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     714          <serializedValue>My</serializedValue>
     715        </property>
     716        <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     717          <serializedValue>LocalMachine</serializedValue>
     718        </property>
     719        <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     720          <serializedValue>FindBySubjectDistinguishedName</serializedValue>
     721        </property>
     722        <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     723          <serializedValue />
     724        </property>
     725        <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     726          <serializedValue>False</serializedValue>
     727        </property>
     728        <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     729          <serializedValue>SlaveTcpStreamedEndpoint</serializedValue>
     730        </property>
     731        <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     732          <serializedValue />
     733        </property>
     734        <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     735          <serializedValue />
     736        </property>
     737      </properties>
     738    </endpoint>
     739    <endpoint name="SlaveTcpMexEndpoint" contract="SlaveService.ISlaveFacade" bindingType="netTcpBinding" address="net.tcp://localhost:9001/SlaveServiceStreamed/mex" bindingConfiguration="SlaveTcpMexEndpoint">
     740      <properties>
     741        <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     742          <serializedValue>net.tcp://localhost:9001/SlaveServiceStreamed/mex</serializedValue>
     743        </property>
     744        <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     745          <serializedValue />
     746        </property>
     747        <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     748          <serializedValue>netTcpBinding</serializedValue>
     749        </property>
     750        <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     751          <serializedValue>SlaveTcpMexEndpoint</serializedValue>
     752        </property>
     753        <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     754          <serializedValue>SlaveService.ISlaveFacade</serializedValue>
     755        </property>
     756        <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     757          <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
     758        </property>
     759        <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     760          <serializedValue>&lt;Header /&gt;</serializedValue>
     761        </property>
     762        <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     763          <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
     764        </property>
     765        <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     766          <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
     767        </property>
     768        <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     769          <serializedValue />
     770        </property>
     771        <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     772          <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
     773        </property>
     774        <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     775          <serializedValue />
     776        </property>
     777        <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     778          <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
     779        </property>
     780        <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     781          <serializedValue />
     782        </property>
     783        <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     784          <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
     785        </property>
     786        <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     787          <serializedValue />
     788        </property>
     789        <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     790          <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
     791        </property>
     792        <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     793          <serializedValue />
     794        </property>
     795        <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     796          <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
     797        </property>
     798        <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     799          <serializedValue>My</serializedValue>
     800        </property>
     801        <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     802          <serializedValue>LocalMachine</serializedValue>
     803        </property>
     804        <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     805          <serializedValue>FindBySubjectDistinguishedName</serializedValue>
     806        </property>
     807        <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     808          <serializedValue />
     809        </property>
     810        <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     811          <serializedValue>False</serializedValue>
     812        </property>
     813        <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     814          <serializedValue>SlaveTcpMexEndpoint</serializedValue>
     815        </property>
     816        <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     817          <serializedValue />
     818        </property>
     819        <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     820          <serializedValue />
     821        </property>
     822      </properties>
     823    </endpoint>
    424824  </endpoints>
    425825</SavedWcfConfigurationInformation>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/WcfService.cs

    r4305 r4316  
    6262    public bool LoggedIn { get; set; }
    6363    public string ServerIP { get; private set; }
    64     public int ServerPort { get; private set; }
    6564
    6665    public event EventHandler ConnectionRestored;
     
    8483      try {
    8584        Logger.Debug("Starting the Connection Process");
    86         if (String.Empty.Equals(ServerIP) || ServerPort == 0) {
    87           Logger.Info("No Server IP or Port set!");
     85        if (String.Empty.Equals(ServerIP)) {
     86          Logger.Info("No Server IP set!");
    8887          return;
    8988        }
    9089
    9190        Logger.Debug("Creating the new connection proxy");
    92         proxy = CreateSlaveFacadeClient();
     91        proxy = ServiceLocator.CreateStreamedSlaveFacade(ServerIP);
    9392        Logger.Debug("Created the new connection proxy");
    9493
     
    122121    }
    123122
    124     private SlaveFacadeClient CreateSlaveFacadeClient() {
    125       SlaveFacadeClient client = new SlaveFacadeClient("SlaveHttpEndpoint");
    126       WcfSettings.SetEndpointAddress(client.Endpoint, string.Format("http://{0}:{1}/{2}", ServerIP, ServerPort, WcfSettings.SlaveServiceName));
    127       return client;
    128     }
    129 
    130 
    131     /// <summary>
    132     /// Changes the Connectionsettings (serverIP & serverPort) and reconnects
     123    /// <summary>
     124    /// Changes the Connectionsettings (serverIP) and reconnects
    133125    /// </summary>
    134126    /// <param name="serverIP">current Server IP</param>
    135     /// <param name="serverPort">current Server Port</param>
    136     public void Connect(String serverIP, int serverPort) {
    137       Logger.Debug("Called Connected with " + serverIP + ":" + serverPort);
     127    public void Connect(String serverIP) {
     128      Logger.Debug("Called Connected with " + serverIP);
    138129      String oldIp = this.ServerIP;
    139       int oldPort = this.ServerPort;
    140130      this.ServerIP = serverIP;
    141       this.ServerPort = serverPort;
    142131      Connect();
    143       if (oldIp != serverIP || oldPort != ServerPort)
     132      if (oldIp != serverIP)
    144133        if (ServerChanged != null)
    145134          ServerChanged(this, new EventArgs());
    146135    }
    147136
    148     public void SetIPAndPort(String serverIP, int serverPort) {
    149       Logger.Debug("Called with " + serverIP + ":" + serverPort);
     137    public void SetIP(String serverIP) {
     138      Logger.Debug("Called with " + serverIP);
    150139      this.ServerIP = serverIP;
    151       this.ServerPort = serverPort;
    152140    }
    153141
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/app.config

    r4305 r4316  
    1919    </behaviors>
    2020    <bindings>
     21      <netTcpBinding>
     22        <binding name="SlaveTcpStreamedEndpoint" closeTimeout="00:01:00"
     23          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
     24          transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions"
     25          hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="104857600"
     26          maxBufferSize="104857600" maxConnections="10" maxReceivedMessageSize="104857600">
     27          <readerQuotas maxDepth="32" maxStringContentLength="104857600" maxArrayLength="104857600"
     28            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     29          <reliableSession ordered="true" inactivityTimeout="00:10:00"
     30            enabled="false" />
     31          <security mode="TransportWithMessageCredential">
     32            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
     33            <message clientCredentialType="UserName" algorithmSuite="Default" />
     34          </security>
     35        </binding>
     36        <binding name="SlaveTcpMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
     37          receiveTimeout="00:10:00" sendTimeout="00:01:00" transactionFlow="false"
     38          transferMode="Buffered" transactionProtocol="OleTransactions"
     39          hostNameComparisonMode="StrongWildcard" listenBacklog="10" maxBufferPoolSize="524288"
     40          maxBufferSize="65536" maxConnections="10" maxReceivedMessageSize="65536">
     41          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
     42            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     43          <reliableSession ordered="true" inactivityTimeout="00:10:00"
     44            enabled="false" />
     45          <security mode="None">
     46            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
     47            <message clientCredentialType="Windows" />
     48          </security>
     49        </binding>
     50      </netTcpBinding>
    2151      <wsHttpBinding>
    2252        <binding name="SlaveHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
    23             receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
    24             transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    25             maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    26             messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
    27             allowCookies="false">
     53          receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false"
     54          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     55          maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"
     56          messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
     57          allowCookies="false">
    2858          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    29               maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     59            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    3060          <reliableSession ordered="true" inactivityTimeout="00:10:00"
    31               enabled="false" />
     61            enabled="false" />
    3262          <security mode="Message">
    3363            <transport clientCredentialType="Windows" proxyCredentialType="None"
    34                 realm="" />
     64              realm="" />
    3565            <message clientCredentialType="UserName" negotiateServiceCredential="true"
    36                 algorithmSuite="Default" />
     66              algorithmSuite="Default" />
    3767          </security>
    3868        </binding>
    3969        <binding name="SlaveMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
    40             receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
    41             transactionFlow="false" hostNameComparisonMode="StrongWildcard"
    42             maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    43             messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
    44             allowCookies="false">
     70          receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
     71          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     72          maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
     73          textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
    4574          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    46               maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     75            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    4776          <reliableSession ordered="true" inactivityTimeout="00:10:00"
    48               enabled="false" />
     77            enabled="false" />
    4978          <security mode="None">
    5079            <transport clientCredentialType="Windows" proxyCredentialType="None"
    51                 realm="" />
     80              realm="" />
    5281            <message clientCredentialType="Windows" negotiateServiceCredential="true" />
    5382          </security>
     
    5685    </bindings>
    5786    <client>
    58       <endpoint address="http://localhost:9000/SlaveService" behaviorConfiguration="SlaveServiceBehaviour" binding="wsHttpBinding"
    59           bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade"
    60           name="SlaveHttpEndpoint">
     87      <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" behaviorConfiguration="SlaveServiceBehaviour"
     88        bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade"
     89        name="SlaveHttpEndpoint">
    6190        <identity>
    6291          <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" />
     
    6493      </endpoint>
    6594      <endpoint address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding"
    66           bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade"
    67           name="SlaveMexEndpoint" />
     95        bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade"
     96        name="SlaveMexEndpoint" />
     97      <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed" behaviorConfiguration="SlaveServiceBehaviour"
     98        binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint"
     99        contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint">
     100        <identity>
     101          <dns value="localhost" />
     102        </identity>
     103      </endpoint>
     104      <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed/mex"
     105        binding="netTcpBinding" bindingConfiguration="SlaveTcpMexEndpoint"
     106        contract="SlaveService.ISlaveFacade" name="SlaveTcpMexEndpoint" />
    68107    </client>
    69108  </system.serviceModel>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/ConfigurationManager/ConfigManager.cs

    r4305 r4316  
    8080    /// </summary>
    8181    /// <returns>The IP and Port of the server</returns>
    82     public ConnectionContainer GetServerIPAndPort() {
     82    public ConnectionContainer GetServerIP() {
    8383      ConnectionContainer cc = new ConnectionContainer();
    8484      cc.IPAdress = Settings.Default.ServerIP;
    85       cc.Port = Settings.Default.ServerPort;
    8685      return cc;
    8786    }
    8887
    8988    /// <summary>
    90     /// Sets and saves IP and Port in the Settings framework
     89    /// Sets and saves IP in the Settings framework
    9190    /// </summary>
    9291    /// <param name="cc"></param>
    93     public void SetServerIPAndPort(ConnectionContainer cc) {
     92    public void SetServerIP(ConnectionContainer cc) {
    9493      Settings.Default.ServerIP = cc.IPAdress;
    95       Settings.Default.ServerPort = cc.Port;
    9694      Settings.Default.Save();
    9795    }
     96
    9897    /// <summary>
    9998    /// collects and returns information that get displayed by the Client Console
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Core.cs

    r4305 r4316  
    8484
    8585      //Recover Server IP and Port from the Settings Framework
    86       ConnectionContainer cc = ConfigManager.Instance.GetServerIPAndPort();
    87       if (cc.IPAdress != String.Empty && cc.Port != 0)
    88         wcfService.SetIPAndPort(cc.IPAdress, cc.Port);
     86      ConnectionContainer cc = ConfigManager.Instance.GetServerIP();
     87      if (cc.IPAdress != String.Empty)
     88        wcfService.SetIP(cc.IPAdress);
    8989
    9090      //Initialize the heartbeat
     
    223223        } else {
    224224          Logger.Info("Storing the finished job with id: " + jId + " to hdd");
    225           JobStorageManager.PersistObjectToDisc(wcfService.ServerIP, wcfService.ServerPort, jId, sJob);
     225          JobStorageManager.PersistObjectToDisc(wcfService.ServerIP, 0, jId, sJob); // [chn] Port is not unique anymore (since we need two ports for http and net.tcp-streaming). also the port is now specified only in app.config. use port 0 for the moment
    226226          KillAppDomain(jId);
    227227        }
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/JobStorage/JobStorageManager.cs

    r4267 r4316  
    4545    public static void CheckAndSubmitJobsFromDisc() {
    4646      for (int index = storedJobsList.Count; index > 0; index--) {
    47         if (WcfService.Instance.LoggedIn && (storedJobsList[index - 1].ServerIP == WcfService.Instance.ServerIP && storedJobsList[index - 1].ServerPort == WcfService.Instance.ServerPort)) {
     47        if (WcfService.Instance.LoggedIn && (storedJobsList[index - 1].ServerIP == WcfService.Instance.ServerIP)) {
    4848          String filename = storedJobsList[index - 1].ServerIP + "." + storedJobsList[index - 1].ServerPort + "." + storedJobsList[index - 1].JobID.ToString();
    4949          Logger.Info("Sending stored job " + storedJobsList[index - 1].JobID + " to the server");
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Properties/Settings.Designer.cs

    r4253 r4316  
    2626        [global::System.Configuration.UserScopedSettingAttribute()]
    2727        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    28         [global::System.Configuration.DefaultSettingValueAttribute("00000000-0000-0000-0000-000000000000")]
    29         public global::System.Guid Guid {
    30             get {
    31                 return ((global::System.Guid)(this["Guid"]));
    32             }
    33             set {
    34                 this["Guid"] = value;
    35             }
    36         }
    37        
    38         [global::System.Configuration.UserScopedSettingAttribute()]
    39         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    4028        [global::System.Configuration.DefaultSettingValueAttribute("")]
    4129        public string ServerIP {
     
    5038        [global::System.Configuration.UserScopedSettingAttribute()]
    5139        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    52         [global::System.Configuration.DefaultSettingValueAttribute("0")]
    53         public int ServerPort {
     40        [global::System.Configuration.DefaultSettingValueAttribute("00000000-0000-0000-0000-000000000000")]
     41        public global::System.Guid Guid {
    5442            get {
    55                 return ((int)(this["ServerPort"]));
     43                return ((global::System.Guid)(this["Guid"]));
    5644            }
    5745            set {
    58                 this["ServerPort"] = value;
     46                this["Guid"] = value;
    5947            }
    6048        }
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Properties/Settings.settings

    r4253 r4316  
    33  <Profiles />
    44  <Settings>
     5    <Setting Name="ServerIP" Type="System.String" Scope="User">
     6      <Value Profile="(Default)" />
     7    </Setting>
    58    <Setting Name="Guid" Type="System.Guid" Scope="User">
    69      <Value Profile="(Default)">00000000-0000-0000-0000-000000000000</Value>
    710    </Setting>
    8     <Setting Name="ServerIP" Type="System.String" Scope="User">
    9       <Value Profile="(Default)" />
    10     </Setting>
    11     <Setting Name="ServerPort" Type="System.Int32" Scope="User">
    12       <Value Profile="(Default)">0</Value>
    13     </Setting>
    1411  </Settings>
    1512</SettingsFile>
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/SlaveConsoleService/SlaveConsoleCommunicator.cs

    r4260 r4316  
    1919
    2020    public void SetConnection(ConnectionContainer container) {
    21       ConfigManager.Instance.SetServerIPAndPort(container);
    22       WcfService.Instance.Connect(container.IPAdress, container.Port);
     21      ConfigManager.Instance.SetServerIP(container);
     22      WcfService.Instance.Connect(container.IPAdress);
    2323    }
    2424
     
    2828
    2929    public ConnectionContainer GetCurrentConnection() {
    30       return new ConnectionContainer { IPAdress = WcfService.Instance.ServerIP, Port = WcfService.Instance.ServerPort };
     30      return new ConnectionContainer { IPAdress = WcfService.Instance.ServerIP };
    3131    }
    3232
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/SlaveConsoleService/TransferObjects/ConnectionContainer.cs

    r4260 r4316  
    3131    [DataMember]
    3232    public string IPAdress { get; set; }
    33     [DataMember]
    34     public int Port { get; set; }
    3533  }
    3634}
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/app.config

    r4253 r4316  
    88    <userSettings>
    99      <HeuristicLab.Hive.Slave.Core.Properties.Settings>
    10             <setting name="Guid" serializeAs="String">
    11                 <value>00000000-0000-0000-0000-000000000000</value>
    12             </setting>
    13             <setting name="ServerIP" serializeAs="String">
    14                 <value />
    15             </setting>
    16             <setting name="ServerPort" serializeAs="String">
    17                 <value>0</value>
    18             </setting>
    19         </HeuristicLab.Hive.Slave.Core.Properties.Settings>
     10        <setting name="ServerIP" serializeAs="String">
     11          <value />
     12        </setting>
     13        <setting name="Guid" serializeAs="String">
     14          <value>00000000-0000-0000-0000-000000000000</value>
     15        </setting>
     16      </HeuristicLab.Hive.Slave.Core.Properties.Settings>
    2017    </userSettings>
    2118</configuration>
Note: See TracChangeset for help on using the changeset viewer.