MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / update_node

Method update_node

extensions/opc/src/opc.cpp:417–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415
416template<typename T>
417UA_StatusCode Client::update_node(const UA_NodeId nodeId, T value) {
418 UA_Variant *variant = UA_Variant_new();
419 add_value_to_variant(variant, value);
420 UA_StatusCode sc = UA_Client_writeValueAttribute(client_, nodeId, variant);
421 UA_Variant_delete(variant);
422 return sc;
423};
424
425std::unique_ptr<Client> Client::createClient(std::shared_ptr<core::logging::Logger> logger, const std::string& applicationURI,
426 const std::vector<char>& certBuffer, const std::vector<char>& keyBuffer,

Callers 1

onTriggerMethod · 0.80

Calls 1

add_value_to_variantFunction · 0.85

Tested by

no test coverage detected