[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Problem with creating a new agent



On Tue, 23 May 2000, Parag Padhye wrote:

> I am creating  my own agent from the class Agent/CBR/UDP. 

Why?

As ns-source.tcl says, these are backward compatible components:

ns-source.tcl:Class Agent/CBR -superclass Agent/UDP
ns-source.tcl:Class Agent/CBR/UDP -superclass Agent/UDP
ns-source.tcl:Class Agent/CBR/RTP -superclass Agent/RTP
ns-source.tcl:Class Agent/CBR/UDP/SA -superclass Agent/SA

i.e. stuff no-one uses.

There's Application/Traffic/CBR.
There's Agent/UDP.

I'd pick the appropriate one and work from that instead. Should be
easier.

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>