Package jadex.future

Class TerminableIntermediateDelegationFuture<E>

java.lang.Object
jadex.future.Future<Collection<E>>
jadex.future.IntermediateFuture<E>
jadex.future.TerminableIntermediateDelegationFuture<E>
All Implemented Interfaces:
IBackwardCommandFuture, IForwardCommandFuture, IFuture<Collection<E>>, IIntermediateFuture<E>, ITerminableFuture<Collection<E>>, ITerminableIntermediateFuture<E>, Supplier<Collection<E>>
Direct Known Subclasses:
PullIntermediateDelegationFuture, SubscriptionIntermediateDelegationFuture

public class TerminableIntermediateDelegationFuture<E> extends IntermediateFuture<E> implements ITerminableIntermediateFuture<E>
A terminable intermediate delegation future can be used when a termination intermediate future should be delegated. This kind of future needs to be connected to the termination source (another delegation or a real future). Termination calls are forwarded to the termination source. The future remembers when terminate() was called in unconnected state and forwards the request as soon as the connection is established.
  • Field Details

  • Constructor Details

    • TerminableIntermediateDelegationFuture

      public TerminableIntermediateDelegationFuture()
      Create a new future.
    • TerminableIntermediateDelegationFuture

      public TerminableIntermediateDelegationFuture(ITerminableIntermediateFuture<E> src)
      Create a new future.
  • Method Details