public class CNPReceiverPlan extends AbstractReceiverPlan
Plan.SyncResultListener
planinit
Constructor and Description |
---|
CNPReceiverPlan() |
Modifier and Type | Method and Description |
---|---|
void |
body()
The body method is called on the
instatiated plan instance from the scheduler.
|
Object |
executeTask(Object proposal,
Object proposal_info,
IComponentIdentifier initiator)
Execute the task.
|
Object[] |
makeProposal(Object cfp,
IComponentIdentifier initiator)
Make a proposal based on the task description.
|
failed, passed
aborted, createWaitAbstraction, dispatchSubgoalAndWait, dispatchSubgoalAndWait, getMonitor, isEventRegisteredInWaitqueue, resume, sendMessageAndWait, sendMessageAndWait, sendMessageAndWait, suspend, waitFor, waitForCondition, waitForCondition, waitForEver, waitForExternalCondition, waitForExternalCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, waitForGoal, waitForGoal, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForTick, waitForWaitAbstraction, waitForWaitAbstraction
createExpression, createExpression, createGoal, createInternalEvent, createMessageEvent, createResultListener, createResultListener, dispatchInternalEvent, dispatchSubgoal, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getBeliefbase, getBody, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getInterpreter, getLifecycleState, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getScope, getServiceContainer, getState, getTime, getType, getWaitqueue, hasParameter, hasParameterSet, killAgent, sendMessage, sendMessage, startAtomic, toString
public void body()
public Object[] makeProposal(Object cfp, IComponentIdentifier initiator)
cfp
- The cfp including the task to execute.public Object executeTask(Object proposal, Object proposal_info, IComponentIdentifier initiator)
proposal
- The proposal.proposal_info
- The proposal info.Copyright © 2012. All Rights Reserved.