jadex.planlib
Class RPReceiverPlan
java.lang.Object
jadex.runtime.AbstractPlan
jadex.runtime.Plan
jadex.planlib.RPReceiverPlan
- All Implemented Interfaces:
- Serializable
public class RPReceiverPlan
- extends Plan
Receive a request and answer it.
- See Also:
- Serialized Form
Methods inherited from class jadex.runtime.Plan |
aborted, dispatchSubgoalAndWait, dispatchSubgoalAndWait, failed, getInitialEvent, passed, sendMessageAndWait, sendMessageAndWait, waitFor, waitFor, waitFor, waitForBeliefChange, waitForBeliefChange, waitForBeliefSetChange, waitForBeliefSetChange, waitForCondition, waitForCondition, waitForCondition, waitForCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForSubgoal, waitForSubgoal |
Methods inherited from class jadex.runtime.AbstractPlan |
addPlanListener, createCondition, createCondition, createExpression, createExpression, createGoal, createInternalEvent, createInternalEvent, createMessageEvent, createQuery, dispatchInternalEvent, dispatchSubgoal, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgentIdentifier, getAgentName, getBeliefbase, getCondition, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getName, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPropertybase, getQuery, getRootGoal, getRPlan, getScope, getWaitqueue, hasParameter, hasParameterSet, isAbortedOnSuccess, killAgent, removePlanListener, sendMessage, startAtomic, toString |
RPReceiverPlan
public RPReceiverPlan()
body
public void body()
- The body method is called on the
instatiated plan instance from the scheduler.
- Specified by:
body
in class Plan
decideRequest
public Boolean decideRequest(Object request)
- Decide about the request.
- Parameters:
request
- The request.
- Returns:
- True, if should send agree. False for sending refuse. Exception/null for sending nothing.
executeRequest
public Object executeRequest(Object request)
- Execute the request.
- Parameters:
request
- The request.
- Returns:
- The result.
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.