[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] accessing PacketQueue
> I have looked through the ns-archives and have not found an answer to my question. I want to access the length method found in PacketQueue class in the .cc code of an agent that I have created. How can specifically access the object in my agent code to view the length method?
You should first declare a reference variable for a queue, then get a
reference to a real queue and than access method length (that in turn
access method length of PacketQueue class).
However, this sounds strange to me, I mean, to access a queue object
inside the C++ code.
Carlos
>
>
> I look forward to your reply.
>
> -th
>
>
> Angelfire for your free web-based e-mail. http://www.angelfire.com
>