Package jadex.bridge.service.component
Class ComponentFutureFunctionality
- java.lang.Object
-
- jadex.bridge.service.component.interceptors.FutureFunctionality
-
- jadex.bridge.service.component.ComponentFutureFunctionality
-
public class ComponentFutureFunctionality extends FutureFunctionality
Schedule forward future executions (e.g. results) on component thread, i.e. the component is the callee side of the future.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
access
The adapter.-
Fields inherited from class jadex.bridge.service.component.interceptors.FutureFunctionality
DROP_INTERMEDIATE_RESULT, logger, loggerfetcher, undone
-
-
Constructor Summary
Constructors Constructor Description ComponentFutureFunctionality(IInternalAccess access)
Create a new future.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> void
scheduleForward(ICommand<T> command, T args)
Send a foward command.-
Methods inherited from class jadex.bridge.service.component.interceptors.FutureFunctionality
getDelegationFuture, getDelegationFuture, getLogger, handleAfterIntermediateResult, handleBackwardCommand, handleException, handleFinished, handleIntermediateResult, handlePull, handleResult, handleTerminated, isUndone, logException, scheduleBackward
-
-
-
-
Field Detail
-
access
protected IInternalAccess access
The adapter.
-
-
Constructor Detail
-
ComponentFutureFunctionality
public ComponentFutureFunctionality(IInternalAccess access)
Create a new future.
-
-
Method Detail
-
scheduleForward
public <T> void scheduleForward(ICommand<T> command, T args)
Send a foward command.- Overrides:
scheduleForward
in classFutureFunctionality
-
-