Hi Mohammed,

That's correct. Only the object whose class derives from class Connector can 
call the function drop(p). However, there are a lot of class like this, e.g., 
queues, agents.

Best Regards,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat
On Mar 9, 2011, at 8:17 AM, Mohammed Alenezi wrote:

> 
> Hi,
> I've been reading the below blog :
> http://t-issariyakul.blogspot.com/search/label/NS2?updated-max=2010-03-08T02%3A02%3A00-07%3A00&max-results=20
> 
> I found this sentence "Note that "drop(p)" is a function of class Connector,
> and therefore must be invoked from within the scope of class Connector."
> 
> Does this mean I can't call the drop from outside connector. In other words,
> If I want to call drop I have to create object from connector class then
> call drop???
> 
> 
> Please help me on this issue?????????
> 
> -- 
> Regards,
> Mohd.
> 


Reply via email to