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

Method close_session

opcua/client/client.py:516–523  ·  view source on GitHub ↗

Close session

(self)

Source from the content-addressed store, hash-verified

514 return data, uri
515
516 def close_session(self):
517 """
518 Close session
519 """
520 if self.keepalive and self.keepalive.is_alive():
521 self.keepalive.stop()
522 self.keepalive.join()
523 return self.uaclient.close_session(True)
524
525 def get_root_node(self):
526 return self.get_node(ua.TwoByteNodeId(ua.ObjectIds.RootFolder))

Callers 2

connectMethod · 0.95
disconnectMethod · 0.95

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected