[ns] Number of agent classes and the constants.

2010-03-12 Thread The Learner
Hi all! In my protocol, there are three types of nodes performing different functions, and thus I'll have to create three different agent classes. Rite? Now my doubt is while implementing these three different (programmer defined) agent classes, the constant passed in the constructor of the

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread MiLo_TUD
The Learner wrote: Hi all! In my protocol, there are three types of nodes performing different functions, and thus I'll have to create three different agent classes. Rite? Now my doubt is while implementing these three different (programmer defined) agent classes, the constant passed

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread The Learner
Thank You for your reply, But what I mean to ask is, as given in the pdf, nstr-how_to.pdf, the one which implements protoname protocol, the class Protoname derives from class Agent, and the constructor of Agent class is passed with the argument, PT_PROTONAME which is a constant. In my case, I

Re: [ns] Number of agent classes and the constants.

2010-03-12 Thread MiLo_TUD
The Learner wrote: Thank You for your reply, But what I mean to ask is, as given in the pdf, nstr-how_to.pdf, the one which implements protoname protocol, the class Protoname derives from class Agent, and the constructor of Agent class is passed with the argument, PT_PROTONAME which