public Uploader(IAstmChannel stream, AstmLowLevelSettings lowLevelSettings, ITimersManager timersManager, ILogger <Uploader> log) { _stream = stream; _timersManager = timersManager; _log = log; _timersManager.CreateTimer(WAIT_ANSWER_TIMER_NAME); _timersManager.CreateTimer(WAIT_DELAY_TIMER_NAME); _havePriority = lowLevelSettings.HavePriority; _lowLevelSettings = lowLevelSettings; _timersManager = timersManager; }
public Downloader(IAstmChannel stream, AstmLowLevelSettings lowLevelSettings, ITimersManager timersManager, ILogger <Downloader> log) { _stream = stream; _lowLevelSettings = lowLevelSettings; _timersManager = timersManager; _log = log; _timersManager.CreateTimer(WAIT_FRAME_TIMER_NAME); }
protected AstmIOController( IAstmChannel stream, AstmLowLevelSettings lowLevelSettings, IUploader uploader, IDownloader downloader, ITimersManager timersManager, ILogger <AstmIOController> log) { _stream = stream; _uploader = uploader; _downloader = downloader; _lowLevelSettings = lowLevelSettings; _timersManager = timersManager; _log = log; _timersManager.CreateTimer(DISABLE_UPLOAD_TIMER_NAME); }