jadex.bdi.planlib.protocols
Class AbstractReceiverPlan

java.lang.Object
  extended by jadex.bdi.runtime.impl.AbstractPlan
      extended by jadex.bdi.runtime.Plan
          extended by jadex.bdi.planlib.protocols.AbstractReceiverPlan
All Implemented Interfaces:
ISuspendable, java.io.Serializable
Direct Known Subclasses:
CNPReceiverPlan, DAReceiverPlan, EAReceiverPlan, RPQPReceiverPlan, 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

Nested Class Summary
 
Nested classes/interfaces inherited from class jadex.bdi.runtime.Plan
Plan.SyncResultListener
 
Field Summary
 
Fields inherited from class jadex.bdi.runtime.Plan
lis
 
Fields inherited from class jadex.bdi.runtime.impl.AbstractPlan
interpreter, planinit
 
Constructor Summary
AbstractReceiverPlan()
          Initialize the plan
 
Method Summary
 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.bdi.runtime.Plan
aborted, body, createWaitAbstraction, dispatchSubgoalAndWait, dispatchSubgoalAndWait, getMonitor, isEventRegisteredInWaitqueue, resume, sendMessageAndWait, sendMessageAndWait, suspend, waitFor, waitForCondition, waitForCondition, waitForEver, waitForExternalCondition, waitForExternalCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, waitForGoal, waitForGoal, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForTick, waitForWaitAbstraction, waitForWaitAbstraction
 
Methods inherited from class jadex.bdi.runtime.impl.AbstractPlan
createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createExpression, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getBeliefbase, getBody, getClock, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getFlyweight, getGoalbase, getInterpreter, getLifecycleState, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getPropertybase, getRCapability, getReason, getRPlan, getScope, getState, getTime, getType, getWaitqueue, hasParameter, hasParameterSet, killAgent, sendMessage, startAtomic, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

failed

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

Overrides:
failed in class Plan


Copyright © 2010. All Rights Reserved.