MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / register_server2

Method register_server2

opcua/client/ua_client.py:413–421  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

411 # nothing to return for this service
412
413 def register_server2(self, params):
414 self.logger.info("register_server2")
415 request = ua.RegisterServer2Request()
416 request.Parameters = params
417 data = self._uasocket.send_request(request)
418 response = struct_from_binary(ua.RegisterServer2Response, data)
419 self.logger.debug(response)
420 response.ResponseHeader.ServiceResult.check()
421 return response.ConfigurationResults
422
423 def translate_browsepaths_to_nodeids(self, browsepaths):
424 self.logger.info("translate_browsepath_to_nodeid")

Callers

nothing calls this directly

Calls 3

struct_from_binaryFunction · 0.90
send_requestMethod · 0.80
checkMethod · 0.80

Tested by

no test coverage detected