Package jadex.execution.future
Class ComponentFutureFunctionality
java.lang.Object
jadex.execution.future.FutureFunctionality
jadex.execution.future.ComponentFutureFunctionality
Schedule forward future executions (e.g. results) on component thread,
i.e. the component is the callee side of the future.
-
Field Summary
FieldsFields inherited from class jadex.execution.future.FutureFunctionality
DROP_INTERMEDIATE_RESULT, future, logger, loggerfetcher, undone
-
Constructor Summary
ConstructorsConstructorDescriptionComponentFutureFunctionality
(jadex.core.IComponent comp) Create a new future. -
Method Summary
Modifier and TypeMethodDescription<T> void
scheduleForward
(jadex.common.ICommand<T> command, T args) Send a foward command.Methods inherited from class jadex.execution.future.FutureFunctionality
getDelegationFuture, getDelegationFuture, getFuture, getLogger, handleAfterIntermediateResult, handleBackwardCommand, handleException, handleFinished, handleIntermediateResult, handlePull, handleResult, handleTerminated, isUndone, logException, scheduleBackward, setFuture
-
Field Details
-
comp
protected jadex.core.IComponent compThe adapter.
-
-
Constructor Details
-
ComponentFutureFunctionality
public ComponentFutureFunctionality(jadex.core.IComponent comp) Create a new future.
-
-
Method Details
-
scheduleForward
public <T> void scheduleForward(jadex.common.ICommand<T> command, T args) Send a foward command.- Overrides:
scheduleForward
in classFutureFunctionality
-