|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceActionAdapter
Interface that provides an adapter from an action name as a symbol in an agent script to the service method that performs the action
| Method Summary | |
|---|---|
ActionResult |
perform(AgentService service,
KsAction action,
Intention intention,
KsVar output)
Perform the named action, using the given arguments as parameters. |
| Method Detail |
|---|
ActionResult perform(AgentService service,
KsAction action,
Intention intention,
KsVar output)
Perform the named action, using the given arguments as parameters.
service - The service instance that will perform the actionaction - Encapsulates the operation name, and fixed and open argument setsintention - The intention in which the operation is being invoked (and
which provides execution state, such as the current variable bindings).output - An option variable that can be bound to the output result
of the service, if any, or null if no output is expected. The output
variable is only bound when the output status is ActionResult.SUCCESS
or ActionResult.SUCCESS_NO_COMMIT.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||