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

Method _sendHello

wsdiscovery/daemon.py:79–83  ·  view source on GitHub ↗
(self, service)

Source from the content-addressed store, hash-verified

77 self.sendMulticastMessage(env, multicast_num=self._multicast_num)
78
79 def _sendHello(self, service):
80 env = constructHello(service)
81 random.seed((int)(time.time() * 1000000))
82 self.sendMulticastMessage(env,initialDelay=random.randint(0, APP_MAX_DELAY),
83 multicast_num=self._multicast_num)
84
85 def _sendBye(self, service):
86 env = constructBye(service)

Callers 2

_networkAddressAddedMethod · 0.80
publishServiceMethod · 0.80

Calls 2

constructHelloFunction · 0.85
sendMulticastMessageMethod · 0.80

Tested by

no test coverage detected