public StartupWizardService(IServerConfigurationManager config, IServerApplicationHost appHost, IUserManager userManager, IConnectManager connectManager) { _config = config; _appHost = appHost; _userManager = userManager; _connectManager = connectManager; }
public AuthService(IUserManager userManager, IAuthorizationContext authorizationContext, IServerConfigurationManager config, IConnectManager connectManager, ISessionManager sessionManager) { AuthorizationContext = authorizationContext; _config = config; SessionManager = sessionManager; ConnectManager = connectManager; UserManager = userManager; }
public ConnectEntryPoint(IHttpClient httpClient, IApplicationPaths appPaths, ILogger logger, INetworkManager networkManager, IConnectManager connectManager) { _httpClient = httpClient; _appPaths = appPaths; _logger = logger; _networkManager = networkManager; _connectManager = connectManager; }
public StartupWizardService(IServerConfigurationManager config, IHttpClient httpClient, IServerApplicationHost appHost, IUserManager userManager, IConnectManager connectManager, IMediaEncoder mediaEncoder) { _config = config; _appHost = appHost; _userManager = userManager; _connectManager = connectManager; _mediaEncoder = mediaEncoder; _httpClient = httpClient; }
public StartupWizardService(IServerConfigurationManager config, IServerApplicationHost appHost, IUserManager userManager, IConnectManager connectManager, ILiveTvManager liveTvManager, IMediaEncoder mediaEncoder) { _config = config; _appHost = appHost; _userManager = userManager; _connectManager = connectManager; _liveTvManager = liveTvManager; _mediaEncoder = mediaEncoder; }
/// <summary> /// Закрываем сессию /// </summary> internal void CloseHandlers() { if (!closed) { closed = true; Close(); connectHandler = null; connectInfo = null; } }
public ConnectEntryPoint(IHttpClient httpClient, IApplicationPaths appPaths, ILogger logger, INetworkManager networkManager, IConnectManager connectManager, IApplicationHost appHost, IFileSystem fileSystem) { _httpClient = httpClient; _appPaths = appPaths; _logger = logger; _networkManager = networkManager; _connectManager = connectManager; _appHost = appHost; _fileSystem = fileSystem; }
public HttpClientSession(IConnectManager connectHandler, IConnectionInfo connection, GameContext aContext) : base(connectHandler, connection) { context = aContext; addMessageHandler(inGameCreated, OnGameCreated); addMessageHandler(inGameJoined, OnGameJoined); addMessageHandler(inMoveMaked, OnMakeMove); addMessageHandler(inGameState, OnGameState); addMessageHandler(inExit, OnExit); }
public ConnectEntryPoint(IHttpClient httpClient, IApplicationPaths appPaths, ILogger logger, INetworkManager networkManager, IConnectManager connectManager, IApplicationHost appHost, IFileSystem fileSystem, ITimerFactory timerFactory, IEncryptionManager encryption) { _httpClient = httpClient; _appPaths = appPaths; _logger = logger; _networkManager = networkManager; _connectManager = connectManager; _appHost = appHost; _fileSystem = fileSystem; _timerFactory = timerFactory; _encryption = encryption; }
public TcpSession(IConnectManager connectHandler, IConnectionInfo connection, GameContext aContext) : base(connectHandler, connection) { context = aContext; signature = 20100; messageID = 0; MessageHandler[] inHandlers = new MessageHandler[inMessageCount]; inHandlers[inGameInfo] = new MessageHandler(OnGameInfo); inHandlers[inMoveInfo] = new MessageHandler(OnMoveInfo); inHandlers[inEndGame] = new MessageHandler(OnEndGame); inHandlers[inInterruptGame] = new MessageHandler(OnInterruptGame); SetInMessageHandlers(inHandlers); }
public ConnectService(IConnectManager connectManager, ISessionManager sessionManager) { _connectManager = connectManager; _sessionManager = sessionManager; }
public HttpSessionBasedOnJson(IConnectManager connManager, IConnectionInfo connection) : base(connManager, connection) { }
public ConnectService(IConnectManager connectManager, ISessionManager sessionManager, IAuthorizationContext authContext) { _connectManager = connectManager; _sessionManager = sessionManager; _authContext = authContext; }
public ConnectService(IConnectManager connectManager, IUserManager userManager) { _connectManager = connectManager; _userManager = userManager; }
/// <summary> /// Конструктор /// </summary> /// <param name="asocketHandler">Сервер, который содал сессию</param> /// <param name="aConnection">Объект соединение</param> public Session(IConnectManager connectHandler, IConnectionInfo connection) { Open(connectHandler, connection); }
public ConnectService(IConnectManager connectManager) { _connectManager = connectManager; }
public TcpSession(IConnectManager connectHandler, IConnectionInfo connection) : base(connectHandler, connection) { SetInMessageHandlers(null); }
public AuthorizationContext(IAuthenticationRepository authRepo, IConnectManager connectManager) { _authRepo = authRepo; _connectManager = connectManager; }
public void Open(IConnectManager aConnectHandler, IConnectionInfo connection) { connectHandler = aConnectHandler; connectInfo = connection; closed = false; }
public HttpSession(IConnectManager connectHandler, IConnectionInfo connection) : base(connectHandler, connection) { }