public class DAReceiverPlan extends AbstractReceiverPlan
Plan.PlanWaitAbstraction
Constructor and Description |
---|
DAReceiverPlan() |
Modifier and Type | Method and Description |
---|---|
void |
body()
The plan body.
|
protected java.lang.Object[] |
decideParticipation(AuctionDescription auctiondesc,
IComponentIdentifier initiator)
Decide about participation.
|
protected java.lang.Object[] |
handleCFP(IMessageEvent cfp,
AuctionDescription auctiondesc,
java.lang.Object auctioninfo,
java.util.List offers)
Handle a cfp message.
|
failed, passed
aborted, 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, waitForTick
public void body()
body
in class AbstractReceiverPlan
protected java.lang.Object[] decideParticipation(AuctionDescription auctiondesc, IComponentIdentifier initiator)
auctiondesc
- The auction description.protected java.lang.Object[] handleCFP(IMessageEvent cfp, AuctionDescription auctiondesc, java.lang.Object auctioninfo, java.util.List offers)
auctiondesc
- The auction description.