Service publishing implementation¶
-
class
wsdiscovery.publishing.ThreadedWSPublishing(**kwargs)¶ Bases:
wsdiscovery.threaded.ThreadedNetworking,wsdiscovery.publishing.Publishing,wsdiscovery.daemon.Daemonthreaded service publishing
-
clearLocalServices()¶ send Bye messages for the services and remove them
-
publishService(types, scopes, xAddrs)¶ Publish a service with the given TYPES, SCOPES and XAddrs (service addresses)
if xAddrs contains item, which includes {ip} pattern, one item per IP address will be sent
-
start()¶ start networking - should be called before using other methods
-
stop()¶ cleans up and stops networking
-