Jadex 0.96

jadex.planlib
Class AbstractReceiverPlan

java.lang.Object
  extended by jadex.runtime.AbstractPlan
      extended by jadex.runtime.Plan
          extended by jadex.planlib.AbstractReceiverPlan
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CMReceiverPlan, CNPReceiverPlan, DAReceiverPlan, EAReceiverPlan, RPReceiverPlan

public abstract class AbstractReceiverPlan
extends Plan

This plan serves as a base class for receiver plans. It creates the interaction state object and updates it when the plan terminates.

See Also:
Serialized Form

Constructor Summary
AbstractReceiverPlan()
          Initialize the plan
 
Method Summary
 void aborted()
          Called when the plan is aborted, i.e., when the corresponding interaction goal is dropped.
 void failed()
          Called when the plan fails, i.e., a problem occurred during protocol execution.
 void passed()
          Called when the plan is finished, i.e. when the interaction is completed.
 
Methods inherited from class jadex.runtime.Plan
body, dispatchSubgoalAndWait, dispatchSubgoalAndWait, getInitialEvent, sendMessageAndWait, sendMessageAndWait, waitFor, waitFor, waitFor, waitForBeliefChange, waitForBeliefChange, waitForBeliefSetChange, waitForBeliefSetChange, waitForCondition, waitForCondition, waitForCondition, waitForCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReceiverPlan

public AbstractReceiverPlan()
Initialize the plan

Method Detail

passed

public void passed()
Called when the plan is finished, i.e. when the interaction is completed.

Overrides:
passed in class Plan

aborted

public void aborted()
Called when the plan is aborted, i.e., when the corresponding interaction goal is dropped.

Overrides:
aborted in class Plan

failed

public void failed()
Called when the plan fails, i.e., a problem occurred during protocol execution.

Overrides:
failed in class Plan

Jadex 0.96

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.