ShowLastPackets class. More...
Classes | |
| class | PacketList | 
Public Member Functions | |
| __init__ (self, visualizer, node_index) | |
| Initializer.   | |
| update (self) | |
| Update function.   | |
Public Attributes | |
| drop_list = self.PacketList() | |
| packet drop list   | |
| node = ns.NodeList.GetNode(node_index) | |
| the node   | |
| op_AND_button = GObject.new(Gtk.RadioButton, label="AND", visible=True) | |
| AND button.   | |
| op_OR_button | |
| OR button.   | |
| packet_capture_options = ns.PyViz.PacketCaptureOptions() | |
| packet capture options   | |
| list | packet_filter_list = [] | 
| list of TypeIdConfig instances   | |
| packet_filter_widget | |
| packet filter widget   | |
| rx_list = self.PacketList() | |
| packet receive list   | |
| tx_list = self.PacketList() | |
| packet transmit list   | |
| visualizer = visualizer | |
| visualizer   | |
| viz_node = visualizer.get_node(node_index) | |
| visualizer node   | |
| win | |
| window   | |
Protected Member Functions | |
| _response_cb (self, win, response) | |
| Response callback function.   | |
Protected Attributes | |
| _response_cb | |
| _response_cb function   | |
ShowLastPackets class.
Definition at line 21 of file show_last_packets.py.
| 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.
      
  | 
  protected | 
Response callback function.
| self | this object | 
| win | the window | 
| response | the response | 
Definition at line 299 of file show_last_packets.py.
References interface_statistics.ShowInterfaceStatistics.visualizer, interface_statistics.StatisticsCollector.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, visualizer, visualizer.core.Node.visualizer, interface_statistics.ShowInterfaceStatistics.win, ipv4_routing_table.ShowIpv4RoutingTable.win, olsr.ShowOlsrRoutingTable.win, and win.
| show_last_packets.ShowLastPackets.update | ( | self | ) | 
Update function.
| self | this object | 
Reimplemented from visualizer.base.InformationWindow.
Definition at line 310 of file show_last_packets.py.
References drop_list, Ns2MobilityHelperTest::ReferencePoint.node, node, rx_list, tx_list, update(), interface_statistics.ShowInterfaceStatistics.visualizer, interface_statistics.StatisticsCollector.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, visualizer, and visualizer.core.Node.visualizer.
Referenced by update().
      
  | 
  protected | 
_response_cb function
Definition at line 137 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.drop_list = self.PacketList() | 
| show_last_packets.ShowLastPackets.node = ns.NodeList.GetNode(node_index) | 
| show_last_packets.ShowLastPackets.op_AND_button = GObject.new(Gtk.RadioButton, label="AND", visible=True) | 
AND button.
Definition at line 278 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.op_OR_button | 
OR button.
Definition at line 279 of file show_last_packets.py.
| show_last_packets.ShowLastPackets.packet_capture_options = ns.PyViz.PacketCaptureOptions() | 
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 = self.PacketList() | 
| show_last_packets.ShowLastPackets.tx_list = self.PacketList() | 
| show_last_packets.ShowLastPackets.visualizer = visualizer | 
visualizer
Definition at line 139 of file show_last_packets.py.
Referenced by _response_cb(), and update().
| show_last_packets.ShowLastPackets.viz_node = visualizer.get_node(node_index) | 
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 _response_cb().