Package jadex.commons.future
Class TerminableDelegationResultListener<E>
- java.lang.Object
-
- jadex.commons.future.DelegationResultListener<E>
-
- jadex.commons.future.TerminableDelegationResultListener<E>
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener<E>
,IFutureCommandResultListener<E>
,IResultListener<E>
,IUndoneResultListener<E>
public class TerminableDelegationResultListener<E> extends DelegationResultListener<E>
Result listener for terminable futures. Requires the source and target as parameters and establishes their connection.
-
-
Field Summary
-
Fields inherited from class jadex.commons.future.DelegationResultListener
customResultListener, future, undone
-
-
Constructor Summary
Constructors Constructor Description TerminableDelegationResultListener(TerminableDelegationFuture<E> future, ITerminableFuture<E> src)
Create a new listener.
-
Method Summary
-
Methods inherited from class jadex.commons.future.DelegationResultListener
commandAvailable, customResultAvailable, exceptionOccurred, exceptionOccurredIfUndone, isUndone, resultAvailable, resultAvailableIfUndone
-
-
-
-
Constructor Detail
-
TerminableDelegationResultListener
public TerminableDelegationResultListener(TerminableDelegationFuture<E> future, ITerminableFuture<E> src)
Create a new listener.- Parameters:
future
- The target future (to which is delegated).src
- The source future which is monitored.
-
-