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

Method start

wsdiscovery/threaded.py:302–310  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 time.sleep(0.01)
301
302 def start(self):
303 super(NetworkingThread, self).start()
304
305 self._uniOutSocket = socket.socket(self._get_inet(), socket.SOCK_DGRAM)
306
307 self._multiInSocket = self._createMulticastInSocket()
308 self._selector.register(self._multiInSocket, selectors.EVENT_WRITE | selectors.EVENT_READ)
309
310 self._multiOutUniInSockets = {} # FIXME synchronisation
311
312 def join(self, **kwargs):
313 assert self._quitEvent.is_set()

Callers 7

_startThreadsMethod · 0.45
discoveryFunction · 0.45
publishingFunction · 0.45
test_probingFunction · 0.45
wsdFunction · 0.45
jquery-3.4.1.jsFile · 0.45
jquery.jsFile · 0.45

Calls 2

_get_inetMethod · 0.95

Tested by 1

test_probingFunction · 0.36