How to delete or disable an Object?

Haobo Yu haoboy@ISI.EDU
Wed, 8 Sep 1999 15:21:56 -0700 (PDT)


Since you have this loss_module, you can say:

$ns at 3.0 "$loss_module set enable_ 0" 

to disable the losses. If you want to turn it back on, set enable_ to 1.
Please refer to errmodel.cc.

- Haobo

On Thu, 3 Sep 1998, Cheng Liang wrote:

> Hi all,
>      A simple question.
>      I inserted an Object of lossmodel in a link:
>       $ns at 1.5 "$ns lossmodel $loss_module $n(2) $n(3)"
> If I would like to delete this object or disable this object at 3.0, how
> should I do? Something like this?? :
>      $ns at 3.0  "......."
> Thank you very much in advance.
> 
> Cheng Liang
> 
> 
>