public WsServerNodeAddressSetBase(IReadOnlyWsServerNodeRedis wsServerNodeRedis)
 {
     _wsServerNodeRedis = wsServerNodeRedis;
     VirtualRoot.BuildEventPath <Per20SecondEvent>("周期从redis中刷新", LogEnum.DevConsole, path: message => {
         Init();
     }, this.GetType());
     // 收到Mq消息之前一定已经初始化完成,因为Mq消费者在WsServerNodeAddressSetInitedEvent事件之后才会创建
     VirtualRoot.BuildEventPath <WsServerNodeRemovedMqMessage>("收到移除了服务器节点Mq消息后刷新节点列表", LogEnum.UserConsole, path: message => {
         if (message.AppId == ServerRoot.HostConfig.ThisServerAddress)
         {
             return;
         }
         Init();
     }, this.GetType());
     VirtualRoot.BuildEventPath <WsServerNodeAddedMqMessage>("收到添加了服务器节点Mq消息后刷新节点列表", LogEnum.UserConsole, path: message => {
         if (message.AppId == ServerRoot.HostConfig.ThisServerAddress)
         {
             return;
         }
         Init();
     }, this.GetType());
     Init();
 }