| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
threading._Verbose --+
|
threading.Thread --+
|
HubDiscovery
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
gateway_hub_service = Used to discover hubs via zeroconf. |
|
| Properties | |
|
Inherited from Inherited from |
| Method Details |
@param external_discovery_update is a callback function that takes action on a discovery @type gateway_node.update_discovery_hook(ip, port)
|
The hub discovery thread worker function. Monitors zeroconf for the presence of new hubs. We spin fast initially for convenience, and then wind down once we've detected a hub. Note that the zeroconf service is persistent. Alternatively we could use the zeroconf subscriber to be a wee bit more efficient.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 26 15:54:17 2015 | http://epydoc.sourceforge.net |