Package jadex.bridge

Class IntermediateComponentResultListener<E>

    • Constructor Detail

      • IntermediateComponentResultListener

        public IntermediateComponentResultListener​(IIntermediateResultListener<E> listener,
                                                   IInternalAccess component)
        Create a new component result listener.
        Parameters:
        listener - The listener.
        adapter - The adapter.
    • Method Detail

      • maxResultCountAvailable

        public void maxResultCountAvailable​(int max)
        Description copied from interface: IIntermediateResultListener
        Declare that the future result count is available. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method will be called as often as the result count indicates except an exception occurs.
        Specified by:
        maxResultCountAvailable in interface IIntermediateResultListener<E>
      • finishedIfUndone

        public void finishedIfUndone()
        Declare that the future is finished. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method was called for all intermediate results before.
        Specified by:
        finishedIfUndone in interface IUndoneIntermediateResultListener<E>