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

Method connect

extensions/opc/src/opc.cpp:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196UA_StatusCode Client::connect(const std::string& url, const std::string& username, const std::string& password) {
197 if (username.empty()) {
198 return UA_Client_connect(client_, url.c_str());
199 } else {
200 return UA_Client_connect_username(client_, url.c_str(), username.c_str(), password.c_str());
201 }
202}
203
204NodeData Client::getNodeData(const UA_ReferenceDescription *ref, const std::string& basePath) {
205 if(ref->nodeClass == UA_NODECLASS_VARIABLE) {

Callers 1

reconnectMethod · 0.45

Calls 2

c_strMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected