[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Group changes in SRM
Node has a method called leave-group{}, which can be used to leave a
group. See ~ns/tcl/ex/mcast.tcl for an example. I don't know SRM provides
a function for you to leave group, but you can easily write a method for
Agent/SRM to do that following the example of Agent/SRM::start{} (in
~ns/tcl/mcast/srm.tcl). IMHO.
- Haobo
On Tue, 12 Jan 1999, Renata Cruz Teixeira wrote:
> Hi,
>
> I need to change the group membership in
> SRM during the simulation. Does anybody know how
> to do it?
> I understand that to join a group I need
> to set the dst_ and call start. However, I don't
> now how to leave the group in order to join another
> one. I'd like to know if there is a function that
> resets what was done in the function start. If
> there isn't such a function, does anybody has an
> idea of how to do it?
>
> Thanks,
> Renata.
> --
> -----------------------------------------------------
> Renata Cruz Teixeira - M.Sc. Student, PEE/COPPE/UFRJ
> Research area: Distributed virtual reality
> E-mail:[email protected]
> -----------------------------------------------------
>