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

[ns] Relation among Delaylink,Simplelink,LinkDelayClass



Hi,
i would like to understand how is the LinkDelay
connector used:

* a TclClass is defined for this class
(LinkDelayClass), what is the corresponding OTCL 
class ? 
from its definition :

static class LinkDelayClass : public TclClass {
public:
	LinkDelayClass() : TclClass("DelayLink") {}
.....................................

i would expect an OTCl class called "DelayLink";
anyway, the only significant trace of DelayLink is in
the LINK definition (which is defined as a standalone
class, not as a splitobject!):

Class SimpleLink -superclass Link

SimpleLink instproc init { src dst bw delay q {lltype
"DelayLink"} } 
............................................

What is the effect of "...{lltype "DelayLink"}..." ?


Thanks a lot,

                 Andrea.





______________________________________________________________________
Do You Yahoo!?
Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it