Class SimpleMessagingCleanerAgent
- java.lang.Object
 - 
- jadex.quickstart.cleanerworld.multi.messaging.SimpleMessagingCleanerAgent
 
 
- 
public class SimpleMessagingCleanerAgent extends java.lang.ObjectSimple example of using the environment sensor. 
- 
- 
Constructor Summary
Constructors Constructor Description SimpleMessagingCleanerAgent() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanerAdded(jadex.quickstart.cleanerworld.environment.impl.Cleaner other, IInternalAccess agent)An example plan to be executed whenever a new cleaner is seen. 
 - 
 
- 
- 
Method Detail
- 
cleanerAdded
public void cleanerAdded(jadex.quickstart.cleanerworld.environment.impl.Cleaner other, IInternalAccess agent)An example plan to be executed whenever a new cleaner is seen. Sends a message with all knows wastes to the other cleaner.- Parameters:
 other- The other cleaner (info object provided by sensor).agent- Internal API object of this agent used to send a message.
 
 - 
 
 -