|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.AbstractPlan
jadex.runtime.Plan
jadex.planlib.AbstractReceiverPlan
jadex.planlib.CNPReceiverPlan
public class CNPReceiverPlan
Receive a contract net protocol (cnp) and answer it.
Constructor Summary | |
---|---|
CNPReceiverPlan()
|
Method Summary | |
---|---|
void |
body()
The body method is called on the instatiated plan instance from the scheduler. |
Object |
executeTask(Object proposal,
Object proposal_info,
AgentIdentifier initiator)
Execute the task. |
Object[] |
makeProposal(Object cfp,
AgentIdentifier initiator)
Make a proposal based on the task description. |
Methods inherited from class jadex.planlib.AbstractReceiverPlan |
---|
aborted, failed, passed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CNPReceiverPlan()
Method Detail |
---|
public void body()
body
in class Plan
public Object[] makeProposal(Object cfp, AgentIdentifier initiator)
cfp
- The cfp including the task to execute.
public Object executeTask(Object proposal, Object proposal_info, AgentIdentifier initiator)
proposal
- The proposal.proposal_info
- The proposal info.
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.