public PushSampleService(ILogger <PushSampleService> _logger, RemoteConfig _remoteConfig, Metadata _header, Net.GrpcClients _clients) { logger = _logger; remoteConfig = _remoteConfig; header = _header; clients = _clients; }
public ServerManagerBackend(ILogger <ServerManagerBackend> _logger, Metadata _header, K2Config _localConfig, RemoteConfig _, // RemoteConfig 사용금지. ServerManager 는 다른 서비스로 RemoteConfig 를 전파만 해야하고 사용해서는 안된다. Net.GrpcClients _clients) { logger = _logger; header = _header; localConfig = _localConfig; clients = _clients; }
public ServerManagementBackground(ILogger <ServerManagementBackground> _logger, K2Config _localConfig, RemoteConfig _remoteConfig, Metadata _header, Net.GrpcClients _clients) { logger = _logger; localConfig = _localConfig; remoteConfig = _remoteConfig; header = _header; clients = _clients; interval = localConfig.ServerManagementBackground.PingIntervalSec; }
public ServerHostBackend(ILogger <ServerHostBackend> _logger, IHostApplicationLifetime _life, K2Config _localConfig, RemoteConfig _remoteConfig, Net.GrpcClients _clients, Metadata _headers) { logger = _logger; life = _life; localConfig = _localConfig; remoteConfig = _remoteConfig; clients = _clients; headers = _headers; }
public SessionManagerBackend(ILogger <SessionManagerBackend> _logger, Metadata _header, Net.GrpcClients _clients) { logger = _logger; header = _header; clients = _clients; }