|
|
|
Class info instances |
You will see a long list of classes that are already defined in OTcl:
QueueMonitor/ED/Flow/TSW RandomVariable/ParetoII Queue/RED/Semantic Agent/rtProto/Dummy Est/ExpAvg Agent/IVS/Receiver Application/Worm Agent/TCP PacketHeader/ARP Agent/Message Agent/TCP/BayFullTcp Agent/SCTP/MultipleFastRtx Queue/dsRED/core PagePool/ProxyTrace/epa ConnTimer Trace/Enque Connector/AddSR PacketQueue HandoffManager/Sat RandomVariable/Normal Agent/TCP/Sack1 mrtObject Queue/dsRED/edge PagePool/EmpWebTraf Http/Server Application/Telnet Agent/UDP Agent/PGM QueueMonitor/ED/Flow Node/SatNode Classifier/Addr/MIPDecapsulator SnoopQueue/In Application/Traffic/CBR_PP Channel/WirelessChannel PagePool PacketHeader/GAF Classifier/Hash/Dest/Bcast SplitObject FSM/RenoAck RtModule/Mcast PagePool/ProxyTrace Est/PointSample PktInTranMonitor Application/DiffApp/RmstFilter Agent/LossMonitor/PLM PacketHeader/aSRM RandomVariable/Constant Connector/RoutingHelper Queue/GK Phy/Repeater ..... |
Notes:
|
|
new ClassName |
The new command returns an object handle (reference)
set myTCPAgent [new Agent/TCP/Reno] |
Note:
|
$OTclObjectVar METHODNAME ARG1 ARG2 ... |
$OTclObjectVar set varName VALUE |
$OTclObjectVar set varName |
(So you don't need to write network modules (like TCP, FTP, etc) to simulate a network)
The methods implement the behavior of the protocol modules.