Function & Argument Type(s)
|
Description
|
Example
|
getBlockStatus (Routing Table Name, "stats", Value) |
Output the statistics or the Routing Table for all block associated with the 'Routing Table Name'. The Routing Table collects statistics for all the Nodes, Bridges and Gateways that are listed in the Link Setup database block. Possible Value are -1- Reset all statistics 0- Output all statistics 1- Output Routing Table |
Stats= getBlockStatus("RT", "stats", 0) Routing_Table= getBlockStatus("RT", "stats", 1) |
getRoutingTableHop (Routing Table Name, Source Node Name, Destination Node Name) |
Gets the next intermediate Node block in the path |
Next_Hop= getRoutingTableHop("RT", "Node_1","Node_2") ="Bridge_1" |
getBlockStatus (Layer Table Name,"Any Value", "stats", Value,"Any Integer") |
Get the statistics for the Layer Block Possible Value are -1- Reset all statistics 1- Returns the statistics |
Stats=getBlockStatus ("Layer_TCP", 1, "stats", 1) |
getBlockStatus (Layer Table Name,"Any Value", "length", Value,"Any Integer") |
Get the current queue length for Layer Block Possible Value are 1- Up queue usage 2- Down queue usage |
Length= getBlockStatus ("Layer_TCP", 1, "length", 1, 1) = 12 |
changeLink(src_node, dest_node, DoubleToken distance, DoubleToken bandwidth, StringToken type) |
Modify the status of a link, change bandwidth and distance. -Type Up- create the link Down- remove link Update- Modify the distance and speed -Distance- meters -Bandwidth- Mbps src_node- Source dest_node- Destination |
a = ("PC","Server",100,10.0,"Up") =true |
$VS\demo\networking\Gateway_w_diff_Return_Model.xml
Created with the Personal Edition of HelpNDoc: Create help files for the Qt Help Framework