public class ComponentFutureFunctionality extends FutureFunctionality
Constructor and Description |
---|
ComponentFutureFunctionality(IExternalAccess ea,
IComponentAdapter adapter)
Create a new future.
|
Modifier and Type | Method and Description |
---|---|
void |
notifyListener(IResultListener<Void> notify)
Schedule listener notification on component thread.
|
void |
sendBackwardCommand(Object info,
IResultListener<Void> com)
Send a backward command.
|
void |
sendForwardCommand(Object info,
IResultListener<Void> com)
Send a foward command.
|
void |
startScheduledNotifications(IResultListener<Void> notify)
Start the notifications.
|
void |
terminate(Exception reason,
IResultListener<Void> terminate)
Schedule termination on component thread.
|
addIntermediateResult, addIntermediateResultIfUndone, connectDelegationFuture, getDelegationFuture, getDelegationFuture, isUndone, pullIntermediateResult, setException, setExceptionIfUndone, setFinished, setFinishedIfUndone, setFirstResult, setResult, setResultIfUndone, setSecondResult
public ComponentFutureFunctionality(IExternalAccess ea, IComponentAdapter adapter)
public void terminate(Exception reason, IResultListener<Void> terminate)
terminate
in class FutureFunctionality
public void sendForwardCommand(Object info, IResultListener<Void> com)
sendForwardCommand
in class FutureFunctionality
public void sendBackwardCommand(Object info, IResultListener<Void> com)
sendBackwardCommand
in class FutureFunctionality
public void notifyListener(IResultListener<Void> notify)
notifyListener
in class FutureFunctionality
public void startScheduledNotifications(IResultListener<Void> notify)
startScheduledNotifications
in class FutureFunctionality
Copyright © 2013. All Rights Reserved.