ShowIpv4RoutingTable class. More...
Inheritance diagram for ipv4_routing_table.ShowIpv4RoutingTable:
Collaboration diagram for ipv4_routing_table.ShowIpv4RoutingTable:Public Member Functions | |
| __init__ (self, visualizer, node_index) | |
| Initializer. | |
| update (self) | |
| Update function. | |
Public Attributes | |
| COLUMN_DESTINATION | |
| COLUMN_DESTINATION constant. | |
| COLUMN_INTERFACE | |
| COLUMN_INTERFACE constant. | |
| COLUMN_NEXT_HOP | |
| COLUMN_NEXT_HOP constant. | |
| COLUMN_PRIO | |
| COLUMN_PRIO constant. | |
| COLUMN_TYPE | |
| COLUMN_TYPE constant. | |
| node_index = node_index | |
| node index | |
| table_model = Gtk.ListStore(str, str, str, str, int) | |
| table model | |
| visualizer = visualizer | |
| visualizer | |
| win | |
| window | |
Protected Member Functions | |
| _response_cb (self, win, response) | |
| Response callback function. | |
Protected Attributes | |
| _response_cb | |
| _response_cb function | |
ShowIpv4RoutingTable class.
Definition at line 10 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.__init__ | ( | self, | |
| visualizer, | |||
| node_index ) |
Initializer.
| self | this object |
| visualizer | visualizer object |
| node_index | the node index |
Definition at line 39 of file ipv4_routing_table.py.
|
protected |
Response callback function.
| self | this object |
| win | the window |
| response | the response |
Definition at line 95 of file ipv4_routing_table.py.
References interface_statistics.ShowInterfaceStatistics.visualizer, interface_statistics.StatisticsCollector.visualizer, visualizer, visualizer.core.Node.visualizer, interface_statistics.ShowInterfaceStatistics.win, and win.
| ipv4_routing_table.ShowIpv4RoutingTable.update | ( | self | ) |
Update function.
| self | this object |
Reimplemented from visualizer.base.InformationWindow.
Definition at line 106 of file ipv4_routing_table.py.
References interface_statistics.ShowInterfaceStatistics.node_index, node_index, visualizer.core.Node.node_index, interface_statistics.ShowInterfaceStatistics.table_model, and table_model.
|
protected |
_response_cb function
Definition at line 52 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_DESTINATION |
COLUMN_DESTINATION constant.
Definition at line 147 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_INTERFACE |
COLUMN_INTERFACE constant.
Definition at line 151 of file ipv4_routing_table.py.
Referenced by show_last_packets.ShowLastPackets.PacketList.update().
| ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_NEXT_HOP |
COLUMN_NEXT_HOP constant.
Definition at line 149 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_PRIO |
COLUMN_PRIO constant.
Definition at line 155 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_TYPE |
COLUMN_TYPE constant.
Definition at line 153 of file ipv4_routing_table.py.
| ipv4_routing_table.ShowIpv4RoutingTable.node_index = node_index |
node index
Definition at line 55 of file ipv4_routing_table.py.
Referenced by update(), and olsr.ShowOlsrRoutingTable.update().
| ipv4_routing_table.ShowIpv4RoutingTable.table_model = Gtk.ListStore(str, str, str, str, int) |
table model
Definition at line 57 of file ipv4_routing_table.py.
Referenced by update(), olsr.ShowOlsrRoutingTable.update(), and show_last_packets.ShowLastPackets.PacketList.update().
| ipv4_routing_table.ShowIpv4RoutingTable.visualizer = visualizer |
visualizer
Definition at line 54 of file ipv4_routing_table.py.
Referenced by _response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), show_last_packets.ShowLastPackets._response_cb(), and show_last_packets.ShowLastPackets.update().
| ipv4_routing_table.ShowIpv4RoutingTable.win |
window
Definition at line 47 of file ipv4_routing_table.py.
Referenced by _response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), and show_last_packets.ShowLastPackets._response_cb().