jadex.bdi.planlib.ping.AnswerPingPlan Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-applib-bdi Show documentation
Show all versions of jadex-applications-applib-bdi Show documentation
The Jadex applib BDI package contains ready to use functionalities for BDI agents mostly in form of modules called capabilities.
The newest version!
package jadex.bdi.planlib.ping;
import jadex.bdiv3x.runtime.Plan;
/**
* The ping plan reacts on ping requests.
*/
public class AnswerPingPlan extends Plan
{
//-------- methods --------
/**
* Handle the ping request.
*/
public void body()
{
getParameter("result").setValue(getBeliefbase().getBelief("ping_answer").getFact());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy