Пример #1
0
 public async void SendBlockSegmentsNodeNoticeAsync(IEnumerable <BlockSegmentVm> blockSegments)
 {
     try
     {
         BlockSegmentsNotice notice = new BlockSegmentsNotice(blockSegments);
         await SendNoticeToNodesAsync(notice).ConfigureAwait(false);
     }
     catch (Exception ex)
     {
         Logger.WriteLog(ex);
     }
 }
Пример #2
0
 public BlockSegmentsNoticeHandler(NodeNotice notice, NodeConnection current)
 {
     this.notice  = (BlockSegmentsNotice)notice;
     this.current = current;
 }