public async void SendDeleteUsersNodeNoticeAsync(long userId)
 {
     try
     {
         DeleteUsersNodeNotice notice = new DeleteUsersNodeNotice(userId, NodeSettings.Configs.Node.Id);
         await SendNoticeToNodesAsync(notice).ConfigureAwait(false);
     }
     catch (Exception ex)
     {
         Logger.WriteLog(ex);
     }
 }
示例#2
0
 public DeleteUsersNoticeHandler(CommunicationObject @object, NodeConnection nodeConnection, IDeleteUsersService deleteUsersService)
 {
     notice = (DeleteUsersNodeNotice)@object;
     this.nodeConnection     = nodeConnection;
     this.deleteUsersService = deleteUsersService;
 }