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

[ns] How does a steiner node jion a multicast group?



Dear Sir,
    I am study the ctr-mcast protocol implemented in ns. Now I am wondering about
how the steiner node join the group. When a node join a group, some nodes may be
on the branch(named steiner nodes). A steiner node has an active replicator
about the soure and group. When the leafnode which is downstrem of the steiner node
leave the group, the oif of the steiner node refering to the leaving leafnode will
be disbaled and the replicator on this steiner node will be not active. So the prune
process will go on upstream untill reach a node who itself is a group menber.
    Now, suppose a steiner node jion the group too. What happend to the steiner node's
replicator? If nothing was done, when the downsteam node leave group, this node which
before was a steiner node but now it is not will be pruned also! I can not figure out
what happend to steiner node when it jion the group from the *.tcl about ctr-mcast.
    One of my comprehension is: when a steiner node jion a , it attach an LossMonitor
agent on the replocator and a slot was added to this LossMonitor agent.So when all oifs 
are disabled, the replicator is still active. So the prune message will not be passed
on upstream.
    My understanding is made from these sentences:
        set rcvr [new Agent/LossMonitor] 
        $ns attach-agent $n3 $rcvr
        $n3 join-group $rcvr $group0
    Am I right? Is there any misunderstanding about my comprehension on the replicator?
Any rectification is appreciated!
 
    Thank you for your attention.