Example #1
0
 public GrainLocatorResolver(
     GrainDirectoryResolver grainDirectoryResolver,
     CachedGrainLocator cachedGrainLocator,
     DhtGrainLocator dhtGrainLocator,
     ClientGrainLocator clientGrainLocator)
 {
     this.getLocatorInternal     = GetGrainLocatorInternal;
     this.grainDirectoryResolver = grainDirectoryResolver;
     this.cachedGrainLocator     = cachedGrainLocator;
     this.dhtGrainLocator        = dhtGrainLocator;
     this.clientGrainLocator     = clientGrainLocator;
 }
 public GrainLocatorSelector(IGrainDirectoryResolver grainDirectoryResolver, CachedGrainLocator cachedGrainLocator, DhtGrainLocator dhtGrainLocator)
 {
     this.grainDirectoryResolver = grainDirectoryResolver;
     this.cachedGrainLocator     = cachedGrainLocator;
     this.dhtGrainLocator        = dhtGrainLocator;
 }