Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/28/09 18:38:46 (15 years ago)
Author:
svonolfe
Message:

Large amounts of data are now transferred streamed (fixed ticket #660)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server/3.2/HiveServerApplication.cs

    r1579 r1939  
    4343    private Dictionary<string, ServiceHost> runningServices = new Dictionary<string, ServiceHost>();
    4444    private NetTcpBinding binding = (NetTcpBinding)WcfSettings.GetBinding();
     45    private NetTcpBinding streamedBinding = (NetTcpBinding)WcfSettings.GetStreamedBinding();
    4546
    4647    private enum Services {
     
    7677            uriTcp = new Uri("net.tcp://" + ipAddress + ":" + port + "/HiveServer/");
    7778            serviceHost = new ServiceHost(clientCommunicatorInstances[0].GetType(), uriTcp);
    78             serviceHost.AddServiceEndpoint(typeof(IClientCommunicator), binding, STR_ClientCommunicator);
     79            serviceHost.AddServiceEndpoint(typeof(IClientFacade), streamedBinding, STR_ClientCommunicator);
    7980            curServiceHost = STR_ClientCommunicator;
    8081          }
     
    9293            uriTcp = new Uri("net.tcp://" + ipAddress + ":" + port + "/ExecutionEngine/");
    9394            serviceHost = new ServiceHost(executionEngineInstances[0].GetType(), uriTcp);
    94             serviceHost.AddServiceEndpoint(typeof(IExecutionEngineFacade), binding, STR_ExecutionEngineFacade);
     95            serviceHost.AddServiceEndpoint(typeof(IExecutionEngineFacade), streamedBinding, STR_ExecutionEngineFacade);
    9596            curServiceHost = STR_ExecutionEngineFacade;
    9697          }
Note: See TracChangeset for help on using the changeset viewer.