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

Method __init__

wsdiscovery/threaded.py:384–396  ·  view source on GitHub ↗
(self,
                 unicast_num=UNICAST_UDP_REPEAT,
                 multicast_num=MULTICAST_UDP_REPEAT,
                 relates_to=False, **kwargs)

Source from the content-addressed store, hash-verified

382 "handle threaded networking start & stop, address add/remove & message sending"
383
384 def __init__(self,
385 unicast_num=UNICAST_UDP_REPEAT,
386 multicast_num=MULTICAST_UDP_REPEAT,
387 relates_to=False, **kwargs):
388 self._networkingThread_v4 = None
389 self._networkingThread_v6 = None
390 self._addrsMonitorThread_v4 = None
391 self._addrsMonitorThread_v6 = None
392 self._serverStarted = False
393 self._unicast_num = unicast_num
394 self._multicast_num = multicast_num
395 self._relates_to = relates_to
396 super().__init__(**kwargs)
397
398 def _startThreads(self):
399 if self._networkingThread_v4 is not None:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected