public class ComponentFutureFunctionality extends FutureFunctionality
Modifier and Type | Field and Description |
---|---|
protected IInternalAccess |
access
The adapter.
|
logger, loggerfetcher, undone
Constructor and Description |
---|
ComponentFutureFunctionality(IInternalAccess access)
Create a new future.
|
Modifier and Type | Method and Description |
---|---|
void |
notifyListener(IResultListener<java.lang.Void> notify)
Schedule listener notification on component thread.
|
void |
sendBackwardCommand(java.lang.Object info,
IResultListener<java.lang.Void> com)
Send a backward command.
|
void |
sendForwardCommand(java.lang.Object info,
IResultListener<java.lang.Void> com)
Send a foward command.
|
void |
startScheduledNotifications(IResultListener<java.lang.Void> notify)
Start the notifications.
|
void |
terminate(java.lang.Exception reason,
IResultListener<java.lang.Void> terminate)
Schedule termination on component thread.
|
addIntermediateResult, addIntermediateResultIfUndone, connectDelegationFuture, getDelegationFuture, getDelegationFuture, getLogger, isUndone, pullIntermediateResult, setException, setExceptionIfUndone, setFinished, setFinishedIfUndone, setFirstResult, setResult, setResultIfUndone, setSecondResult
protected IInternalAccess access
public ComponentFutureFunctionality(IInternalAccess access)
public void terminate(java.lang.Exception reason, IResultListener<java.lang.Void> terminate)
terminate
in class FutureFunctionality
public void sendForwardCommand(java.lang.Object info, IResultListener<java.lang.Void> com)
sendForwardCommand
in class FutureFunctionality
public void sendBackwardCommand(java.lang.Object info, IResultListener<java.lang.Void> com)
sendBackwardCommand
in class FutureFunctionality
public void notifyListener(IResultListener<java.lang.Void> notify)
notifyListener
in class FutureFunctionality
public void startScheduledNotifications(IResultListener<java.lang.Void> notify)
startScheduledNotifications
in class FutureFunctionality