ShowInterfaceStatistics class. More...
Public Member Functions | |
__init__ (self, visualizer, node_index, statistics_collector) | |
Initializer. | |
update (self) | |
Update function. | |
Public Attributes | |
COLUMN_INTERFACE | |
COLUMN_INTERFACE constant. | |
COLUMN_RX_BIT_RATE | |
COLUMN_RX_BIT_RATE constant. | |
COLUMN_RX_BYTES | |
COLUMN_RX_BYTES constant. | |
COLUMN_RX_PACKET_RATE | |
COLUMN_RX_PACKET_RATE constant. | |
COLUMN_RX_PACKETS | |
COLUMN_RX_PACKETS constant. | |
COLUMN_TX_BIT_RATE | |
COLUMN_TX_BIT_RATE constant. | |
COLUMN_TX_BYTES | |
COLUMN_TX_BYTES constant. | |
COLUMN_TX_PACKET_RATE | |
COLUMN_TX_PACKET_RATE constant. | |
COLUMN_TX_PACKETS | |
COLUMN_TX_PACKETS constant. | |
node_index | |
node index | |
statistics_collector | |
statistics collector | |
table_model | |
table model | |
visualizer | |
visualizer | |
viz_node | |
visualizer node | |
win | |
window | |
Protected Member Functions | |
_response_cb (self, win, response) | |
Response callback function. | |
Protected Attributes | |
_response_cb | |
_response_cb function | |
ShowInterfaceStatistics class.
Definition at line 107 of file interface_statistics.py.
interface_statistics.ShowInterfaceStatistics.__init__ | ( | self, | |
visualizer, | |||
node_index, | |||
statistics_collector ) |
Initializer.
self | this object |
visualizer | the visualizer object |
node_index | the node index |
statistics_collector | statistics collector class |
Definition at line 152 of file interface_statistics.py.
|
protected |
Response callback function.
self | this object |
win | the window |
response | the response |
Definition at line 198 of file interface_statistics.py.
References interface_statistics.ShowInterfaceStatistics.visualizer, interface_statistics.StatisticsCollector.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, show_last_packets.ShowLastPackets.visualizer, visualizer.core.Node.visualizer, interface_statistics.ShowInterfaceStatistics.win, ipv4_routing_table.ShowIpv4RoutingTable.win, olsr.ShowOlsrRoutingTable.win, and show_last_packets.ShowLastPackets.win.
interface_statistics.ShowInterfaceStatistics.update | ( | self | ) |
Update function.
self | this object |
Reimplemented from visualizer.base.InformationWindow.
Definition at line 209 of file interface_statistics.py.
References interface_statistics.ShowInterfaceStatistics.COLUMN_INTERFACE, ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_INTERFACE, olsr.ShowOlsrRoutingTable.COLUMN_INTERFACE, show_last_packets.ShowLastPackets.PacketList.COLUMN_INTERFACE, interface_statistics.ShowInterfaceStatistics.COLUMN_RX_BIT_RATE, interface_statistics.ShowInterfaceStatistics.COLUMN_RX_BYTES, interface_statistics.ShowInterfaceStatistics.COLUMN_RX_PACKET_RATE, interface_statistics.ShowInterfaceStatistics.COLUMN_RX_PACKETS, interface_statistics.ShowInterfaceStatistics.COLUMN_TX_BIT_RATE, interface_statistics.ShowInterfaceStatistics.COLUMN_TX_BYTES, interface_statistics.ShowInterfaceStatistics.COLUMN_TX_PACKET_RATE, interface_statistics.ShowInterfaceStatistics.COLUMN_TX_PACKETS, interface_statistics.ShowInterfaceStatistics.node_index, ipv4_routing_table.ShowIpv4RoutingTable.node_index, olsr.ShowOlsrRoutingTable.node_index, visualizer.core.Node.node_index, interface_statistics.ShowInterfaceStatistics.statistics_collector, interface_statistics.ShowInterfaceStatistics.table_model, ipv4_routing_table.ShowIpv4RoutingTable.table_model, olsr.ShowOlsrRoutingTable.table_model, and show_last_packets.ShowLastPackets.PacketList.table_model.
|
protected |
_response_cb function
Definition at line 166 of file interface_statistics.py.
interface_statistics.ShowInterfaceStatistics.COLUMN_INTERFACE |
COLUMN_INTERFACE constant.
Definition at line 183 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update(), and show_last_packets.ShowLastPackets.PacketList.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_RX_BIT_RATE |
COLUMN_RX_BIT_RATE constant.
Definition at line 193 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_RX_BYTES |
COLUMN_RX_BYTES constant.
Definition at line 191 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_RX_PACKET_RATE |
COLUMN_RX_PACKET_RATE constant.
Definition at line 192 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_RX_PACKETS |
COLUMN_RX_PACKETS constant.
Definition at line 190 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_TX_BIT_RATE |
COLUMN_TX_BIT_RATE constant.
Definition at line 188 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_TX_BYTES |
COLUMN_TX_BYTES constant.
Definition at line 186 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_TX_PACKET_RATE |
COLUMN_TX_PACKET_RATE constant.
Definition at line 187 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.COLUMN_TX_PACKETS |
COLUMN_TX_PACKETS constant.
Definition at line 185 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.node_index |
node index
Definition at line 170 of file interface_statistics.py.
Referenced by visualizer.core.Node.has_mobility(), visualizer.core.Node.tooltip_query(), interface_statistics.ShowInterfaceStatistics.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), and olsr.ShowOlsrRoutingTable.update().
interface_statistics.ShowInterfaceStatistics.statistics_collector |
statistics collector
Definition at line 169 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
interface_statistics.ShowInterfaceStatistics.table_model |
table model
Definition at line 173 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), olsr.ShowOlsrRoutingTable.update(), and show_last_packets.ShowLastPackets.PacketList.update().
interface_statistics.ShowInterfaceStatistics.visualizer |
visualizer
Definition at line 168 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), show_last_packets.ShowLastPackets._response_cb(), visualizer.core.Node._update_appearance(), interface_statistics.StatisticsCollector.get_interface_statistics(), visualizer.core.Node.set_position(), visualizer.core.Node.set_svg_icon(), visualizer.core.Node.tooltip_query(), and show_last_packets.ShowLastPackets.update().
interface_statistics.ShowInterfaceStatistics.viz_node |
visualizer node
Definition at line 171 of file interface_statistics.py.
interface_statistics.ShowInterfaceStatistics.win |
window
Definition at line 161 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), and show_last_packets.ShowLastPackets._response_cb().