Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.planlib.protocols;
 
This plan has the purpose to map incoming initial protocol message (e.g. a request or CFP) to a new top-level interaction goal.
public class InteractionGoalCreationPlan extends Plan
{
The plan body.
	public void body()
	{
		IGoal	igoalcreateGoal((String)getParameter("goaltype").getValue());
		igoal.getParameter("message").setValue(getReason());
	}
New to GrepCode? Check out our FAQ X