You have to declare your agent as a variable of another class. Initiate the agent variable at the constructor of that class. Then you can call public function of your Agent class through that variable.
See class Timer for example. BR, Teerawat On 6/28/2007, "Alexandre Malhão" <[EMAIL PROTECTED]> wrote: > >Hi, > >I have my own agent class in ns. Is there any way for me to call a >function inside this agent class from another class?? > >Best regards, > >Alexandre Malhão > >
