public async void SendDeleteFilesNodeNoticeAsync(List <long> filesId) { try { DeleteFilesNodeNotice notice = new DeleteFilesNodeNotice(filesId, NodeSettings.Configs.Node.Id); await SendNoticeToNodesAsync(notice).ConfigureAwait(false); } catch (Exception ex) { Logger.WriteLog(ex); } }
public DeleteFilesNoticeHandler(CommunicationObject @object, NodeConnection nodeConnection, IFilesService filesService) { notice = (DeleteFilesNodeNotice)@object; this.nodeConnection = nodeConnection; this.filesService = filesService; }