Class CMHandlerPlan
- java.lang.Object
-
- jadex.bdiv3x.runtime.Plan
-
- jadex.bdi.planlib.protocols.cancelmeta.CMHandlerPlan
-
public class CMHandlerPlan extends Plan
Receiver plan for FIPA-Cancel-Meta-Protocol. Waits for cancel message to terminate a conversation by dropping the supplied interaction goal.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.Plan
Plan.PlanWaitAbstraction
-
-
Field Summary
Fields Modifier and Type Field Description protected IMessageEventcancel_msgThe cancel message (if any).protected java.lang.Objectfailure_reasonThe failure reason, when cancel was not successful.
-
Constructor Summary
Constructors Constructor Description CMHandlerPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaborted()Called when the plan is aborted, i.e., when the corresponding interaction goal is dropped.voidbody()The plan body.-
Methods inherited from class jadex.bdiv3x.runtime.Plan
checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, failed, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
-
-
-
-
Field Detail
-
failure_reason
protected java.lang.Object failure_reason
The failure reason, when cancel was not successful.
-
cancel_msg
protected IMessageEvent cancel_msg
The cancel message (if any).
-
-