public class RPQPInitiatorPlan extends AbstractInitiatorPlan
Plan.PlanWaitAbstraction| Modifier and Type | Field and Description |
|---|---|
protected IMessageEvent |
request
The request (must be saved because of conversation tracking).
|
protected static java.lang.String |
STATUS_TIMEOUT
The state indicating a timeout in this plan.
|
| Constructor and Description |
|---|
RPQPInitiatorPlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
body()
Perform the request.
|
protected IMessageEvent |
getInitialMessage()
Get the initial message.
|
protected java.lang.String |
getShortProtocolName()
Get protocol abbrev name.
|
protected IMessageEvent |
handleFirstAnswer(IMessageEvent answer)
Process the first answer.
|
protected void |
handleSecondAnswer(IMessageEvent answer)
Process the second answer.
|
protected void |
requestFinished(boolean success,
java.lang.Object result)
Method, that is being called, when the request has finished.
|
aborted, getTimeoutcheckNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, failed, 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, passed, 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, waitForTickprotected static final java.lang.String STATUS_TIMEOUT
protected IMessageEvent request
public void body()
body in class AbstractInitiatorPlanprotected IMessageEvent handleFirstAnswer(IMessageEvent answer)
protected void handleSecondAnswer(IMessageEvent answer)
protected void requestFinished(boolean success,
java.lang.Object result)
success - The final status of the df search.result - The result object.protected IMessageEvent getInitialMessage()
getInitialMessage in class AbstractInitiatorPlanprotected java.lang.String getShortProtocolName()