Exemplo n.º 1
0
        private void StreamingInitialize()
        {
            var implicitSubscriberTable = transport.GetImplicitStreamSubscriberTable().Result;

            ClientProviderRuntime.StreamingInitialize(implicitSubscriberTable);
            var streamProviderManager = new Streams.StreamProviderManager();

            streamProviderManager
            .LoadStreamProviders(
                this.config.ProviderConfigurations,
                ClientProviderRuntime.Instance)
            .Wait();
            CurrentStreamProviderManager = streamProviderManager;
        }
Exemplo n.º 2
0
 private void StreamingInitialize()
 {
     var implicitSubscriberTable = transport.GetImplicitStreamSubscriberTable(grainFactory).Result;
     ClientProviderRuntime.StreamingInitialize(grainFactory, implicitSubscriberTable);
     var streamProviderManager = new Streams.StreamProviderManager();
     streamProviderManager
         .LoadStreamProviders(
             this.config.ProviderConfigurations,
             ClientProviderRuntime.Instance)
         .Wait();
     CurrentStreamProviderManager = streamProviderManager;
 }