A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv4_routing_table.ShowIpv4RoutingTable Class Reference

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
 

Detailed Description

ShowIpv4RoutingTable class.

Definition at line 10 of file ipv4_routing_table.py.

Constructor & Destructor Documentation

◆ __init__()

ipv4_routing_table.ShowIpv4RoutingTable.__init__ ( self,
visualizer,
node_index )

Initializer.

Parameters
selfthis object
visualizervisualizer object
node_indexthe node index

Definition at line 39 of file ipv4_routing_table.py.

Member Function Documentation

◆ _response_cb()

ipv4_routing_table.ShowIpv4RoutingTable._response_cb ( self,
win,
response )
protected

Response callback function.

Parameters
selfthis object
winthe window
responsethe response
Returns
none

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.

◆ update()

ipv4_routing_table.ShowIpv4RoutingTable.update ( self)

Member Data Documentation

◆ _response_cb

ipv4_routing_table.ShowIpv4RoutingTable._response_cb
protected

_response_cb function

Definition at line 52 of file ipv4_routing_table.py.

◆ COLUMN_DESTINATION

ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_DESTINATION

COLUMN_DESTINATION constant.

Definition at line 147 of file ipv4_routing_table.py.

◆ COLUMN_INTERFACE

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().

◆ COLUMN_NEXT_HOP

ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_NEXT_HOP

COLUMN_NEXT_HOP constant.

Definition at line 149 of file ipv4_routing_table.py.

◆ COLUMN_PRIO

ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_PRIO

COLUMN_PRIO constant.

Definition at line 155 of file ipv4_routing_table.py.

◆ COLUMN_TYPE

ipv4_routing_table.ShowIpv4RoutingTable.COLUMN_TYPE

COLUMN_TYPE constant.

Definition at line 153 of file ipv4_routing_table.py.

◆ node_index

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().

◆ table_model

ipv4_routing_table.ShowIpv4RoutingTable.table_model = Gtk.ListStore(str, str, str, str, int)

◆ visualizer

ipv4_routing_table.ShowIpv4RoutingTable.visualizer = visualizer

◆ win

ipv4_routing_table.ShowIpv4RoutingTable.win
Initial value:
= Gtk.Dialog(
parent=visualizer.window,
flags=Gtk.DialogFlags.DESTROY_WITH_PARENT,
buttons=("_Close", Gtk.ResponseType.CLOSE),
)

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().


The documentation for this class was generated from the following file: