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

Method close

opcua/server/uaprocessor.py:520–527  ·  view source on GitHub ↗

to be called when client has disconnected to ensure we really close everything we should

(self)

Source from the content-addressed store, hash-verified

518 return True
519
520 def close(self):
521 """
522 to be called when client has disconnected to ensure we really close
523 everything we should
524 """
525 self.logger.info("Cleanup client connection: %s", self.name)
526 if self.session:
527 self.session.close_session(True)

Callers 8

stopMethod · 0.45
stopMethod · 0.45
processMethod · 0.45
_process_messageMethod · 0.45
make_aspace_shelfMethod · 0.45
connection_lostMethod · 0.45
_process_dataMethod · 0.45
stopMethod · 0.45

Calls 1

close_sessionMethod · 0.45

Tested by

no test coverage detected