public OrleansStreamingPubSub(IGrainFactory grainFactory, ILocalSiloDetails silo, ILogger <OrleansStreamingPubSub> logger) { hostGrain = grainFactory.GetGrain <IStreamingPubSubHostGrain>( silo.SiloAddress.ToParsableString()); subscriptions = new Subscriptions(logger); }
public OrleansStreamingPubSub(IGrainFactory grainFactory, ILocalSiloDetails localSiloDetails, ILogger <OrleansStreamingPubSub> logger) { brokerGrain = grainFactory.GetGrain <IStreamingPubSubBrokerGrain>(Constants.BrokerId); hostGrain = grainFactory.GetGrain <IStreamingPubSubHostGrain>(localSiloDetails.SiloAddress.ToParsableString()); this.logger = logger; }