Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public GrainLocatorSelector(IGrainDirectoryResolver grainDirectoryResolver, CachedGrainLocator cachedGrainLocator, DhtGrainLocator dhtGrainLocator)
 {
     this.grainDirectoryResolver = grainDirectoryResolver;
     this.cachedGrainLocator     = cachedGrainLocator;
     this.dhtGrainLocator        = dhtGrainLocator;
 }