8 std::string target_ip, uint16_t port, std::string plugin_type,
9 std::shared_ptr<rapidjson::Document> config) {
10 if (plugin_type ==
"binary") {
12 config, udp::endpoint(address::from_string(target_ip), port));
13 }
else if (plugin_type ==
"json") {
15 udp::endpoint(address::from_string(target_ip), port));
18 config, udp::endpoint(address::from_string(target_ip), port));
23 return createComponent()