public async void SendBlockSegmentsNodeNoticeAsync(IEnumerable <BlockSegmentVm> blockSegments) { try { BlockSegmentsNotice notice = new BlockSegmentsNotice(blockSegments); await SendNoticeToNodesAsync(notice).ConfigureAwait(false); } catch (Exception ex) { Logger.WriteLog(ex); } }
public BlockSegmentsNoticeHandler(NodeNotice notice, NodeConnection current) { this.notice = (BlockSegmentsNotice)notice; this.current = current; }