Main watcher thread. More...
Public Member Functions | |
def | __init__ (self, ip, port) |
def | run (self) |
Public Attributes | |
daemon | |
gateway_gone_timeout | |
hub | |
unavailable_gateways | |
watcher_thread_rate | |
Main watcher thread.
Definition at line 27 of file watcher.py.
def rocon_hub.watcher.WatcherThread.__init__ | ( | self, | |
ip, | |||
port | |||
) |
Definition at line 29 of file watcher.py.
def rocon_hub.watcher.WatcherThread.run | ( | self | ) |
Run the hub watcher (sidekick) thread at the rate specified by the watcher_thread_rate parameter. The watcher thread does the following: 1. For all gateways available, see if we have a pinger available. 2. Add and remove pingers as necessary 3. Depending on pinger stats, update hub appropriately
Definition at line 41 of file watcher.py.
rocon_hub.watcher.WatcherThread.daemon |
Definition at line 31 of file watcher.py.
rocon_hub.watcher.WatcherThread.gateway_gone_timeout |
Definition at line 32 of file watcher.py.
rocon_hub.watcher.WatcherThread.hub |
Definition at line 35 of file watcher.py.
rocon_hub.watcher.WatcherThread.unavailable_gateways |
Definition at line 39 of file watcher.py.
rocon_hub.watcher.WatcherThread.watcher_thread_rate |
Definition at line 33 of file watcher.py.