For this purpose, the listeners have to be aware of the method in CityWeatherPlugin to invoke to register themselves as listeners to the weather data events.
英
美
- 为此,监听器必须了解CityWeatherPlugin中的注册方法,这样才能将本身注册为气象数据事件的监听器。