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);
     }
 }
Exemple #2
0
 public DeleteFilesNoticeHandler(CommunicationObject @object, NodeConnection nodeConnection, IFilesService filesService)
 {
     notice = (DeleteFilesNodeNotice)@object;
     this.nodeConnection = nodeConnection;
     this.filesService   = filesService;
 }