Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.planlib.ping;
 
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());
	}
New to GrepCode? Check out our FAQ X