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

Method get_endpoints

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

Source from the content-addressed store, hash-verified

371 return response.Results
372
373 def get_endpoints(self, params):
374 self.logger.info("get_endpoint")
375 request = ua.GetEndpointsRequest()
376 request.Parameters = params
377 data = self._uasocket.send_request(request)
378 response = struct_from_binary(ua.GetEndpointsResponse, data)
379 self.logger.debug(response)
380 response.ResponseHeader.ServiceResult.check()
381 return response.Endpoints
382
383 def find_servers(self, params):
384 self.logger.info("find_servers")

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