ShowLastPackets class. More...
Inheritance diagram for show_last_packets.ShowLastPackets:
Collaboration diagram for show_last_packets.ShowLastPackets:Classes | |
| class | PacketList |
Public Member Functions | |
| def | __init__ (self, visualizer, node_index) |
| Initializer. | |
| def | update (self) |
| Update function. | |
| def | update (self) |
| update function | |
Public Attributes | |
| drop_list | |
| packet drop list | |
| node | |
| the node | |
| op_AND_button | |
| AND button. | |
| op_OR_button | |
| OR button. | |
| packet_capture_options | |
| packet capture options | |
| packet_filter_list | |
| list of TypeIdConfig instances | |
| packet_filter_widget | |
| packet filter widget | |
| rx_list | |
| packet receive list | |
| tx_list | |
| packet transmit list | |
| visualizer | |
| visualizer | |
| viz_node | |
| visualizer node | |
| win | |
| window | |
Protected Member Functions | |
| def | _response_cb (self, win, response) |
| Response callback function. | |
ShowLastPackets class.
Definition at line 14 of file show_last_packets.py.
| def show_last_packets.ShowLastPackets.__init__ | ( | self, | |
| visualizer, | |||
| node_index | |||
| ) |
Initializer.
| self | this object |
| visualizer | the visualizer object |
| node_index | the node index |
Definition at line 99 of file show_last_packets.py.
|
protected |
Response callback function.
| self | this object |
| win | the window |
| response | the response |
Definition at line 260 of file show_last_packets.py.
References visualizer.core.Node.visualizer, interface_statistics.StatisticsCollector.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, show_last_packets.ShowLastPackets.visualizer, interface_statistics.ShowInterfaceStatistics.win, ipv4_routing_table.ShowIpv4RoutingTable.win, olsr.ShowOlsrRoutingTable.win, and show_last_packets.ShowLastPackets.win.
| def show_last_packets.ShowLastPackets.update | ( | self | ) |
Update function.
| self | this object |
Reimplemented from visualizer.base.InformationWindow.
Definition at line 271 of file show_last_packets.py.
References show_last_packets.ShowLastPackets.drop_list, Ns2MobilityHelperTest::ReferencePoint.node, show_last_packets.ShowLastPackets.node, show_last_packets.ShowLastPackets.rx_list, show_last_packets.ShowLastPackets.tx_list, show_last_packets.ShowLastPackets.update(), visualizer.core.Node.visualizer, interface_statistics.StatisticsCollector.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, and show_last_packets.ShowLastPackets.visualizer.
Referenced by show_last_packets.ShowLastPackets.update().
Here is the call graph for this function:
Here is the caller graph for this function:| show_last_packets.ShowLastPackets.drop_list |
packet drop list
Definition at line 145 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
| show_last_packets.ShowLastPackets.node |
the node
Definition at line 114 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
| show_last_packets.ShowLastPackets.op_AND_button |
AND button.
Definition at line 242 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.op_OR_button |
OR button.
Definition at line 243 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.packet_capture_options |
packet capture options
Definition at line 157 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.packet_filter_list |
list of TypeIdConfig instances
Definition at line 182 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.packet_filter_widget |
packet filter widget
Definition at line 172 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.rx_list |
packet receive list
Definition at line 137 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
| show_last_packets.ShowLastPackets.tx_list |
packet transmit list
Definition at line 129 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
| show_last_packets.ShowLastPackets.visualizer |
visualizer
Definition at line 112 of file show_last_packets.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().
| show_last_packets.ShowLastPackets.viz_node |
visualizer node
Definition at line 113 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.win |
window
Definition at line 107 of file show_last_packets.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().