public class CNPReceiverPlan extends AbstractReceiverPlan
Plan.PlanWaitAbstraction| Constructor and Description | 
|---|
| CNPReceiverPlan() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | body()The body method is called on the
  instantiated plan instance from the scheduler. | 
| java.lang.Object | executeTask(java.lang.Object proposal,
           java.lang.Object proposal_info,
           IComponentIdentifier initiator)Execute the task. | 
| protected java.lang.String | getShortProtocolName()Get protocol abbrev name. | 
| protected boolean | isIterated()Test if it is the iterated contract-net version. | 
| java.lang.Object[] | makeProposal(java.lang.Object cfp,
            IComponentIdentifier initiator)Make a proposal based on the task description. | 
failed, passedaborted, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, 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, 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, waitForTickpublic void body()
body in class AbstractReceiverPlanprotected boolean isIterated()
protected java.lang.String getShortProtocolName()
public java.lang.Object[] makeProposal(java.lang.Object cfp,
                                       IComponentIdentifier initiator)
cfp - The cfp including the task to execute.public java.lang.Object executeTask(java.lang.Object proposal,
                                    java.lang.Object proposal_info,
                                    IComponentIdentifier initiator)
proposal - The proposal.proposal_info - The proposal info.