Class EAReceiverPlan
- java.lang.Object
- 
- jadex.bdiv3x.runtime.Plan
- 
- jadex.bdi.planlib.protocols.AbstractReceiverPlan
- 
- jadex.bdi.planlib.protocols.englishauction.EAReceiverPlan
 
 
 
- 
 public class EAReceiverPlan extends AbstractReceiverPlan This plan implements the receiver of the "FIPA Dutch Auction Interaction Protocol Specification" (XC00032 - Experimental). An English auction is one where bidders continuously can increase the current offer until no one is willing to increase any more.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.PlanPlan.PlanWaitAbstraction
 
- 
 - 
Constructor SummaryConstructors Constructor Description EAReceiverPlan()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()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.- 
Methods inherited from class jadex.bdi.planlib.protocols.AbstractReceiverPlanfailed, passed
 - 
Methods inherited from class jadex.bdiv3x.runtime.Planaborted, 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
 
- 
 
- 
- 
- 
Method Detail- 
bodypublic void body() The plan body.- Overrides:
- bodyin class- AbstractReceiverPlan
 
 - 
decideParticipationprotected java.lang.Object[] decideParticipation(AuctionDescription auctiondesc, IComponentIdentifier initiator) Decide about participation. If the goal is not handled participation is true.- Parameters:
- auctiondesc- The auction description.
- Returns:
- The participation state (Boolean) and the local auction info (Object).
 
 - 
handleCFPprotected java.lang.Object[] handleCFP(IMessageEvent cfp, AuctionDescription auctiondesc, java.lang.Object auctioninfo, java.util.List offers) Handle a cfp message.- Parameters:
- auctiondesc- The auction description.
- Returns:
- The participation state (Boolean) and the local auction info (Object).
 
 
- 
 
-