Public Member Functions | Public Attributes | List of all members
rocon_hub.watcher.WatcherThread Class Reference

Main watcher thread. More...

Inheritance diagram for rocon_hub.watcher.WatcherThread:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, ip, port)
 
def run (self)
 

Public Attributes

 daemon
 
 gateway_gone_timeout
 
 hub
 
 unavailable_gateways
 
 watcher_thread_rate
 

Detailed Description

Main watcher thread.

Definition at line 27 of file watcher.py.

Constructor & Destructor Documentation

def rocon_hub.watcher.WatcherThread.__init__ (   self,
  ip,
  port 
)

Definition at line 29 of file watcher.py.

Member Function Documentation

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.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


rocon_hub
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Mon Jun 10 2019 14:40:13