Open JoashCWK opened 6 months ago
Create config file, then parse the config into a HubConfiguration class which is passed in to the EventHandler constructor. This way the MqttClient and MsgProcessor can be created inside the class itself (and DbAccessor in MsgProcessor)
Blocked: need to first find a yaml/xml parser library
Create config file, then parse the config into a HubConfiguration class which is passed in to the EventHandler constructor. This way the MqttClient and MsgProcessor can be created inside the class itself (and DbAccessor in MsgProcessor)