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

Re: [ns] target is ??



One object is linked to another one by this field (like a next field in a
liked list). If you look at the node and link code in tcl, you can see
where this field is set.

Carlos

> Hi~~ all ns users
> I want to know about send method in agent class..
> 
> agent.h is declased this method.
> 
> void send(Packet* p, Handler* h) { target_->recv(p,h); }
> 
> but I don't know target_.
> 
> What is target_?
> 
> connector.h is declared this instance.
> 
> NsObject* target_
> 
> what is NsObject??
> 
> Thanks in advance..
> 
> agent is inherited by connector.
> 
>