|
From: | Marcus G. Daniels |
Subject: | Re: [Swarm-Support] Java swarm help with Log File |
Date: | Mon, 07 Nov 2005 22:09:44 -0700 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
durga bhavani wrote:
These class files are not in the instances of LeaderList
That class should be fine, but at some point, say in your buildObjects, you'll have to instantiate the MyMathsClass, and then add it to the list. Alternatively, the objects that are in leaderList will have to have the method (addEmUp) that you wish to call. If it doesn't make sense to have MyMathClass directly in leaderList, then you need to figure out how to have an instance of it inside the agent or object that is in leaderList.
[Prev in Thread] | Current Thread | [Next in Thread] |