ShowLastPackets class. More...
Classes | |
class | PacketList |
Public Member Functions | |
def | __init__ (self, visualizer, node_index) |
Initializer. More... | |
def | update (self) |
Update function. More... | |
Public Attributes | |
drop_list | |
packet drop list More... | |
node | |
the node More... | |
op_AND_button | |
AND button. More... | |
op_OR_button | |
OR button. More... | |
packet_capture_options | |
packet capture options More... | |
packet_filter_list | |
list of TypeIdConfig instances More... | |
packet_filter_widget | |
packet filter widget More... | |
rx_list | |
packet receive list More... | |
tx_list | |
packet transmit list More... | |
visualizer | |
visualizer More... | |
viz_node | |
visualizer node More... | |
win | |
window More... | |
Private Member Functions | |
def | _response_cb (self, win, response) |
Response callback function. More... | |
ShowLastPackets class.
Definition at line 21 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 124 of file show_last_packets.py.
|
private |
Response callback function.
_response_cb function
self | this object |
win | the window |
response | the response |
Definition at line 303 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 314 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, 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.
show_last_packets.ShowLastPackets.drop_list |
packet drop list
Definition at line 176 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
show_last_packets.ShowLastPackets.node |
the node
Definition at line 141 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 282 of file show_last_packets.py.
show_last_packets.ShowLastPackets.op_OR_button |
OR button.
Definition at line 283 of file show_last_packets.py.
show_last_packets.ShowLastPackets.packet_capture_options |
packet capture options
Definition at line 187 of file show_last_packets.py.
show_last_packets.ShowLastPackets.packet_filter_list |
list of TypeIdConfig instances
Definition at line 215 of file show_last_packets.py.
show_last_packets.ShowLastPackets.packet_filter_widget |
packet filter widget
Definition at line 202 of file show_last_packets.py.
show_last_packets.ShowLastPackets.rx_list |
packet receive list
Definition at line 168 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 160 of file show_last_packets.py.
Referenced by show_last_packets.ShowLastPackets.update().
show_last_packets.ShowLastPackets.visualizer |
visualizer
Definition at line 139 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 140 of file show_last_packets.py.
show_last_packets.ShowLastPackets.win |
window
Definition at line 132 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().