//refacto: IActorRegistry as Actor public InMemoryActorRegistry(IContainer container, IRemoteActorProxyProvider remoteActorProxyProvider) { _container = container; _remoteActorProxyProvider = remoteActorProxyProvider; //refacto: config _prefix = DateTime.Now.Ticks.ToString(); // Add(() => this, ActorType.Registry, null); }
public ClusterRegistry(IContainer container, IDirectory directory, IRemoteActorProxyProvider remoteActorProxyProvider) { _directory = directory; _registry = new InMemoryActorRegistry(container, remoteActorProxyProvider); }