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

Method _sendProbeMatch

wsdiscovery/daemon.py:55–58  ·  view source on GitHub ↗
(self, services, relatesTo, addr)

Source from the content-addressed store, hash-verified

53 self.sendUnicastMessage(env, addr[0], addr[1], unicast_num=self._unicast_num)
54
55 def _sendProbeMatch(self, services, relatesTo, addr):
56 env = constructProbeMatch(services, relatesTo)
57 self.sendUnicastMessage(env, addr[0], addr[1], random.randint(0, APP_MAX_DELAY),
58 unicast_num=self._unicast_num)
59
60 def _sendProbe(self, types=None, scopes=None, address=None, port=None):
61 env = constructProbe(types, scopes)

Callers 1

_handle_probeMethod · 0.80

Calls 2

constructProbeMatchFunction · 0.85
sendUnicastMessageMethod · 0.80

Tested by

no test coverage detected