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

Re: [ns] Relation among Delaylink,Simplelink,LinkDelayClass



> Anyway, this approach doesn't follow the "standard" NS
> philosophy based on OTCl/C++ linkage;what is the use
> of LinkDelayClass in this context then ?
> (by the way,the documentation refers to a Delay/Link
> class, which probably was part of an old NS version)

Every link in ns is a _composite_ object that consists of many "smaller"
objects, e.g., ttl, queue. DelayLink is one components there for
propagation delay.

c++/otcl linkage is for interfacing the otcl code with c++ code and
conceptually has nothing to do with object composition.

You may want to read slides from the last two ns workshop, which, I think,
explain in detail the ns internal.

- Haobo