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

Re: [ns] stop session



It looks the events are not canceled.in :

Agent/SRM instproc delete {} {
...
foreach i [array names pending_] {
    $pending_($i) cancel DELETE
    delete $pending_($i)
 }
$self cleanup
dlete $session_
if [info exists tg_] {
   delete $tg_
 }
}

however, looks the method is doing final job, why it does not work? what
else functions should I call ?

thank you.

Sencun

On Tue, 8 Aug 2000, Haobo Yu wrote:

> make sure all scheduled events (e.g., pending timers) in this agents are
> canceled?
> 
> On Tue, 8 Aug 2000, Sencun Zhu wrote:
> 
> > Date: Tue, 8 Aug 2000 19:21:41 -0400 (EDT)
> > From: Sencun Zhu <[email protected]>
> > To: [email protected]
> > Subject: [ns] stop session
> > 
> > 
> > Hello, all, I met a problem when trying to stop and delete srm agent.
> > what I did is below:
> > 
> >     $node   leave-group $srm $group
> >     $ns     detach-agent $node  $srm
> >     $srm    delete
> >     delete   $srm
> > 
> > however, the error is like:
> > 
> > ns: _o187 send-session: invalid command name "_o187"
> >     while executing
> > "_o187 send-session"
> > 
> > This looks the session message is not stopped, how can I really stop it
> > and delete the srm agent?
> > 
> > thank you.
> > 
> > 
> > Sencun
> > 
> > 
> 
>