public override LoadContainer GetLocalServerData(Band[] bands)
        {
            IList <Guid> nonMovableOrgsList         = LoadBalanceUtils.GetNonMovableOrgsList(this.serviceContext.Settings);
            ILogger      logger                     = this.serviceContext.Logger;
            TopologyExtractorFactoryContext context = this.serviceContext.TopologyExtractorFactoryContextPool.GetContext(this.serviceContext.ClientFactory, bands, nonMovableOrgsList, logger);
            TopologyExtractorFactory        loadBalancingLocalFactory = context.GetLoadBalancingLocalFactory(true);

            return(loadBalancingLocalFactory.GetExtractor(base.TargetServer).ExtractTopology());
        }
Esempio n. 2
0
 protected TopologyExtractorFactoryContext GetTopologyExtractorContext(Band[] bandsToUse)
 {
     return(this.ServiceContext.TopologyExtractorFactoryContextPool.GetContext(this.ServiceContext.ClientFactory, bandsToUse, LoadBalanceUtils.GetNonMovableOrgsList(this.ServiceContext.Settings), this.ServiceContext.Logger));
 }
Esempio n. 3
0
 public virtual TopologyExtractorFactoryContext GetTopologyExtractorFactoryContext()
 {
     return(this.TopologyExtractorFactoryContextPool.GetContext(this.ClientFactory, this.GetActiveBands(), LoadBalanceUtils.GetNonMovableOrgsList(this.Settings), base.Logger));
 }