public HelloWorldClientHostedService(IClusterClient client)
 {
     this._client = client;
 }
示例#2
0
 public UserController(IClusterClient clusterClient)
 {
     _clusterClient = clusterClient;
 }
 private Streaming_ConsumerClientObject(ILogger logger, IClusterClient client)
 {
     this.client = client;
     _consumer   = ConsumerObserver.NewObserver(logger);
 }
示例#4
0
 public AccountController(IClusterClient client)
 {
     this.client = client;
 }
示例#5
0
 public BoardAuthorizationFilter(IClusterClient cluster)
 {
     _cluster = cluster;
 }
示例#6
0
 public GrainWorkflowDispatcher(IClusterClient clusterClient)
 {
     _clusterClient = clusterClient;
 }
 public WarehousesController(IClusterClient orleansClient)
 {
     _orleansClient = orleansClient;
 }
示例#8
0
 public LobbyController(ILogger <WeatherForecastController> logger, IClusterClient client)
 {
     _logger = logger;
     _client = client;
 }
 public LoadGeneratorHostedService(ILogger <LoadGeneratorHostedService> logger, IClusterClient client)
 {
     _logger = logger;
     _client = client;
 }
示例#10
0
 public PingPongController(IClusterClient client)
 {
     Client = client;
 }
 public OrleansDistributedCacheService(IClusterClient clusterClient)
 {
     this.clusterClient = clusterClient;
 }
示例#12
0
 public ProfilesController(IClusterClient clusterClient)
 {
     _clusterClient = clusterClient;
 }
示例#13
0
 public ContentVersionController(IClusterClient client)
 {
     this._client = client;
 }
 public WebSocketHandler(WebSocketConnectionManager webSocketConnectionManager, IClusterClient clusterClient)
 {
     WebSocketConnectionManager = webSocketConnectionManager;
     this._clusterClient        = clusterClient;
 }
示例#15
0
 public GetRoomQueryHandler(IClusterClient client)
 {
     this.client = client;
 }
示例#16
0
        public static Task <ProducerProxy> NewProducerClientObjectsAsync(Guid streamId, string streamProvider, string streamNamespace, Logger logger, IClusterClient client, int producersCount = 1)
        {
            if (producersCount < 1)
            {
                throw new ArgumentOutOfRangeException("producersCount", "The producer count must be at least one");
            }
            var producers = new IStreaming_ProducerGrain[producersCount];

            for (var i = 0; i < producersCount; ++i)
            {
                producers[i] = Streaming_ProducerClientObject.NewObserver(logger, client);
            }
            logger.Info("ProducerProxy.NewProducerClientObjectsAsync: multiplexing {0} producer client objects for stream {1}.", producersCount, streamId);
            return(NewProducerProxy(producers, streamId, streamProvider, streamNamespace, logger));
        }
 public BreachedEmailsController(IClusterClient clusterClient)
 {
     // Inject cluster client
     _clusterClient = clusterClient;
 }
示例#18
0
 private Streaming_ProducerClientObject(Logger logger, IClusterClient client)
 {
     this.client   = client;
     this.producer = ProducerObserver.NewObserver(logger, client);
 }
示例#19
0
 public SessionService(ILogger <SessionService> logger, IClusterClient client)
 {
     this.logger = logger;
     this.client = client;
 }
 protected ExternalClientComponent(IClusterClient _clusterClient)
 {
     clusterClient  = _clusterClient;
     currentAddress = clusterClient.Address;
     currentPort    = clusterClient.Port;
 }
 public PersistenceController(IClusterClient client)
 {
     _client = client;
 }
示例#22
0
 public TopicController(IClusterClient client)
 {
     _topicService        = client.GetGrain <ITopicService>(0);
     _seminarGroupService = client.GetGrain <ISeminarGroupService>(0);
 }
示例#23
0
 public CategoriesController(IClusterClient cluster, IdProvider ids)
 {
     _cluster = cluster;
     _ids     = ids;
 }
示例#24
0
 public StorageHealthCheck(IClusterClient client)
 {
     this.client = client;
 }
示例#25
0
        public CustomHubLifetimeManager(ILogger <DefaultHubLifetimeManager <THub> > logger, IClusterClient clusterClient) : base(logger)
        {
            this._logger        = logger;
            this._clusterClient = clusterClient;

            // start the thread but discard what ever comes from it, _ is a c# 7 discard operator.
            _ = EnsureStreamSetup();
        }
 public DeviceController(IClusterClient client)
 {
     _client = client;
 }
示例#27
0
 public UserManager(IClusterClient actors, IdProvider ids)
 {
     _actors = actors;
     _ids    = ids;
 }
示例#28
0
 public CpuOrleansHealthCheck(IClusterClient client) : base(client)
 {
 }
 public static Streaming_ConsumerClientObject NewObserver(ILogger logger, IClusterClient client)
 {
     return(new Streaming_ConsumerClientObject(logger, client));
 }
示例#30
0
 public HeroClient(IClusterClient clusterClient)
 {
     _clusterClient = clusterClient;
 }