Graph. More...
Public Member Functions | |
def | __init__ |
def | shutdown |
def | update_connection_statistics |
Public Attributes | |
concert_clients | |
is_conductor | |
namespace | |
Private Member Functions | |
def | _setup_subscribers |
def | _update_clients_callback |
Private Attributes | |
_change_callback | |
_graph | |
_last_update | |
_periodic_callback | |
_thread | |
_trigger_shutdown |
Graph.
Definition at line 22 of file conductor_graph_info.py.
def concert_utilities.conductor_graph.conductor_graph_info.ConductorGraphInfo.__init__ | ( | self, | |
change_callback, | |||
periodic_callback | |||
) |
Creates the polling topics necessary for updating statistics about the running gateway-hub network.
Definition at line 23 of file conductor_graph_info.py.
def concert_utilities.conductor_graph.conductor_graph_info.ConductorGraphInfo._setup_subscribers | ( | self | ) | [private] |
Hunt for the conductor's namespace and setup subscribers.
Definition at line 44 of file conductor_graph_info.py.
def concert_utilities.conductor_graph.conductor_graph_info.ConductorGraphInfo._update_clients_callback | ( | self, | |
msg | |||
) | [private] |
Update the cached list of concert clients when a client comes, goes or changes its state. This update happens rather infrequently with every message supplied by the conductor's latched graph publisher.
Definition at line 67 of file conductor_graph_info.py.
Definition at line 40 of file conductor_graph_info.py.
def concert_utilities.conductor_graph.conductor_graph_info.ConductorGraphInfo.update_connection_statistics | ( | self, | |
msg | |||
) |
Update the current list of concert clients' connection statistics. This happens periodically with every message supplied by the conductor's periodic publisher. :param msg concert_msgs.ConcertClients : graph of concert connected/connectable clients.
Definition at line 94 of file conductor_graph_info.py.
concert_utilities::conductor_graph::conductor_graph_info.ConductorGraphInfo::_change_callback [private] |
Definition at line 26 of file conductor_graph_info.py.
Definition at line 71 of file conductor_graph_info.py.
Definition at line 26 of file conductor_graph_info.py.
concert_utilities::conductor_graph::conductor_graph_info.ConductorGraphInfo::_periodic_callback [private] |
Definition at line 26 of file conductor_graph_info.py.
Definition at line 26 of file conductor_graph_info.py.
concert_utilities::conductor_graph::conductor_graph_info.ConductorGraphInfo::_trigger_shutdown [private] |
Definition at line 26 of file conductor_graph_info.py.
Definition at line 26 of file conductor_graph_info.py.
Definition at line 26 of file conductor_graph_info.py.
Definition at line 26 of file conductor_graph_info.py.