MCPcopy Create free account
hub / github.com/andreikop/python-ws-discovery / stop

Method stop

wsdiscovery/threaded.py:439–442  ·  view source on GitHub ↗

cleans up and stops networking

(self)

Source from the content-addressed store, hash-verified

437 self._serverStarted = True
438
439 def stop(self):
440 """cleans up and stops networking"""
441 self._stopThreads()
442 self._serverStarted = False
443
444 def addSourceAddr(self, addr):
445 version = ipaddress.ip_address(addr).version

Callers

nothing calls this directly

Calls 1

_stopThreadsMethod · 0.95

Tested by

no test coverage detected