A Discrete-Event Network Simulator
API
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

def __init__ (self, visualizer, node_index)
 
def update (self)
 Update function. More...
 
- Public Member Functions inherited from visualizer.base.InformationWindow
def update (self)
 update function More...
 

Public Attributes

 node_index
 node index More...
 
 table_model
 table model More...
 
 visualizer
 visualizer More...
 
 win
 window More...
 

Private Member Functions

def _response_cb (self, win, response)
 Response callback function. More...
 

Detailed Description

ShowIpv4RoutingTable class.

Definition at line 10 of file ipv4_routing_table.py.

Constructor & Destructor Documentation

def ipv4_routing_table.ShowIpv4RoutingTable.__init__ (   self,
  visualizer,
  node_index 
)
Initializer
@param self this object
@param visualizer visualizer object
@param node_index the node index
@return the statistics

Definition at line 27 of file ipv4_routing_table.py.

Member Function Documentation

def ipv4_routing_table.ShowIpv4RoutingTable._response_cb (   self,
  win,
  response 
)
private

Response callback function.

Parameters
selfthis object
winthe window
responsethe response
Returns
none

Definition at line 84 of file ipv4_routing_table.py.

def ipv4_routing_table.ShowIpv4RoutingTable.update (   self)

Update function.

Parameters
selfthis object
Returns
none

Definition at line 95 of file ipv4_routing_table.py.

References ipv4_routing_table.ShowIpv4RoutingTable.node_index, visualizer.core.Node.node_index, and interface_statistics.ShowInterfaceStatistics.node_index.

Member Data Documentation

ipv4_routing_table.ShowIpv4RoutingTable.node_index
ipv4_routing_table.ShowIpv4RoutingTable.table_model

table model

Definition at line 44 of file ipv4_routing_table.py.

ipv4_routing_table.ShowIpv4RoutingTable.visualizer

visualizer

Definition at line 41 of file ipv4_routing_table.py.

ipv4_routing_table.ShowIpv4RoutingTable.win

window

Definition at line 36 of file ipv4_routing_table.py.


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