|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.bdi.runtime.impl.AbstractPlan
jadex.bdi.runtime.Plan
jadex.bdi.planlib.protocols.AbstractInitiatorPlan
jadex.bdi.planlib.protocols.request.RPInitiatorPlan
public class RPInitiatorPlan
The fipa request plan performs the initiator side of the fipa-request protocol. The parameters have to be specified in the goal. The result of the request is stored in the goal.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jadex.bdi.runtime.Plan |
|---|
Plan.SyncResultListener |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class jadex.bdi.runtime.Plan |
|---|
lis |
| Fields inherited from class jadex.bdi.runtime.impl.AbstractPlan |
|---|
interpreter, planinit |
| Constructor Summary | |
|---|---|
RPInitiatorPlan()
|
|
| Method Summary | |
|---|---|
void |
body()
Perform the request. |
protected IMessageEvent |
getInitialMessage()
Get the initial message. |
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. |
| Methods inherited from class jadex.bdi.planlib.protocols.AbstractInitiatorPlan |
|---|
aborted, getTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String STATUS_TIMEOUT
protected IMessageEvent request
| Constructor Detail |
|---|
public RPInitiatorPlan()
| Method Detail |
|---|
public void body()
body in class Planprotected 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 AbstractInitiatorPlan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||