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

Method __init__

wsdiscovery/threaded.py:48–53  ·  view source on GitHub ↗
(self, wsd, protocol_version)

Source from the content-addressed store, hash-verified

46 "trigger address change callbacks when local service addresses change"
47
48 def __init__(self, wsd, protocol_version):
49 self._addrs = set()
50 self._wsd = wsd
51 self._protocolVersion = protocol_version
52 super(AddressMonitorThread, self).__init__()
53 self._updateAddrs()
54
55 def _updateAddrs(self):
56 addrs = set(_getNetworkAddrs(self._protocolVersion))

Callers

nothing calls this directly

Calls 2

_updateAddrsMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected