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

Method send_hello

opcua/client/client.py:312–320  ·  view source on GitHub ↗

Send OPC-UA hello to server

(self)

Source from the content-addressed store, hash-verified

310 self.uaclient.disconnect_socket()
311
312 def send_hello(self):
313 """
314 Send OPC-UA hello to server
315 """
316 ack = self.uaclient.send_hello(self.server_url.geturl(), self.max_messagesize, self.max_chunkcount)
317
318 # TODO: Handle ua.UaError
319 if isinstance(ack, ua.UaStatusCodeError):
320 raise ack
321
322 def open_secure_channel(self, renew=False):
323 """

Calls

no outgoing calls

Tested by

no test coverage detected