Queue
Johan Soderberg
Johan.Soderberg@lu.erisoft.se
Tue, 28 Jul 1998 11:05:32 +0200 (MET DST)
Hi James
Hope this helps:
SimpleLink instproc qHandle {} {
$self instvar head_ enqT_ deqT_ queue_ link_
# here you have all interesting handles on the link object
}
Simulator instproc linkStuff { src dst } {
$self instvar link_
set lnk $link_([$src id]:[$dst id])
$lnk qHandle
}
$ns linkStuff $node1 $node2
- johan & wesa
>
>
> I have a question on link object. How can i get a handle for queue_?
> Thanks,
>
>
> ----------------------------------------------------------
> Deying James Tong email: dytong@ee.tamu.edu
> EE Department dytong@dropzone.tamu.edu
> Texas A&M University Work Phone: 409-8459578
>
>