Main watcher thread. More...
Public Member Functions | |
def | __init__ |
def | run |
Public Attributes | |
daemon | |
gateway_dead_timeout | |
gateway_unavailable_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 wathcer 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 44 of file watcher.py.
Definition at line 29 of file watcher.py.
Definition at line 29 of file watcher.py.
Definition at line 29 of file watcher.py.
Definition at line 29 of file watcher.py.
Definition at line 29 of file watcher.py.
Definition at line 29 of file watcher.py.