Interface IMultiplexDistributor

  • All Known Implementing Classes:
    SequentialMultiplexDistributor, SimpleMultiplexDistributor

    public interface IMultiplexDistributor
    Interface for multiplex call distributor. It is fed with: - the services found one by one (addService) - when the search has finished (serviceSearchFinished) It determines: - which services are called - with which arguments - when finished
    • Method Detail

      • init

        jadex.commons.future.IIntermediateFuture<java.lang.Object> init​(java.lang.reflect.Method method,
                                                                        java.lang.Object[] args,
                                                                        jadex.commons.IFilter<jadex.commons.Tuple2<IService,​java.lang.Object[]>> filter,
                                                                        IParameterConverter conv)
        Init the call distributor.
      • addService

        void addService​(IService service)
        Add a new service.
        Parameters:
        service - The service.
      • serviceSearchFinished

        void serviceSearchFinished()
        Search for services has finished.