public RpcNode(RpcActor localActor, IActorDirectory actorDirectory, IServiceCatalogProvider serviceCatalog, IServiceDirectory serviceDirectory, IServiceProxyGenerator proxyGenerator, RpcMethodFixture methodFixture) : base(localActor) { if (actorDirectory == null) { throw new ArgumentNullException("actorDirectory"); } if (serviceCatalog == null) { throw new ArgumentNullException("serviceCatalog"); } if (serviceDirectory == null) { throw new ArgumentNullException("serviceDirectory"); } if (proxyGenerator == null) { throw new ArgumentNullException("proxyGenerator"); } if (methodFixture == null) { throw new ArgumentNullException("methodFixture"); } _actorDirectory = actorDirectory; _serviceCatalog = serviceCatalog; _serviceDirectory = serviceDirectory; _proxyGenerator = proxyGenerator; _methodFixture = methodFixture; }
public RpcServer(RpcActor localActor, IRateLimiter rateLimiter, IActorDirectory actorDirectory, IServiceCatalogProvider serviceCatalog, IServiceDirectory serviceDirectory, RpcMethodFixture methodFixture) : base(localActor, rateLimiter) { if (actorDirectory == null) { throw new ArgumentNullException("actorDirectory"); } if (serviceCatalog == null) { throw new ArgumentNullException("serviceCatalog"); } if (serviceDirectory == null) { throw new ArgumentNullException("serviceDirectory"); } if (methodFixture == null) { throw new ArgumentNullException("methodFixture"); } _actorDirectory = actorDirectory; _serviceCatalog = serviceCatalog; _serviceDirectory = serviceDirectory; _methodFixture = methodFixture; }
public PipelineInstallationService( IServiceDirectory serviceDirectory, IInstallationPipeline installationPipeline, ILogger <PipelineInstallationService> logger) { _serviceDirectory = serviceDirectory ?? throw new ArgumentNullException(nameof(serviceDirectory)); _installationPipeline = installationPipeline ?? throw new ArgumentNullException(nameof(installationPipeline)); _logger = logger; }
public RpcNode(RpcActor localActor, IActorDirectory actorDirectory, IServiceCatalogProvider serviceCatalog, IServiceDirectory serviceDirectory, IServiceProxyGenerator proxyGenerator) : this(localActor, actorDirectory, serviceCatalog, serviceDirectory, proxyGenerator, new RpcMethodFixture( new MethodLocatorExtractor(), new MethodArgumentEncoder(RpcActor.DefaultObjectEncoder), new MethodArgumentDecoder(RpcActor.DefaultObjectDecoder))) { }
//public ISessionFactory ISessionFactory { get; set; } public ServiceDirectoryManager(IServiceDirectory IServiceDirectory) { this.IServiceDirectory = IServiceDirectory; //// this.ISessionFactory = ISessionFactory; }
public static string GetInstallationDirectory( this IServiceDirectory serviceDirectory, params string?[] extraPaths) => serviceDirectory.GetInstallationDirectory(