Reputation: 47
I'm developing a multi agent system via JADE in eclipse. I've managed to develop the code of exchanging messages between agents in different platforms, now I'm trying to make the agents send arrays to each other to be used in queries but couldn't get the hand of it. Any suggestions on how to pass it?
Upvotes: 1
Views: 568
Reputation: 638
You can use the method setContentObject(Serializable s)
of the ACLMessage
class. Just make sure that your objects within the array are Serializable.
Upvotes: 3