jadex.micro.testcases.recfutures.IAService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-micro Show documentation
Show all versions of jadex-applications-micro Show documentation
The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.
package jadex.micro.testcases.recfutures;
import jadex.bridge.service.annotation.Service;
import jadex.commons.future.IFuture;
import jadex.commons.future.IIntermediateFuture;
/**
* Example service with a recursive future.
*/
@Service
public interface IAService
{
/**
* Test method with future in future.
*/
public IFuture> methodA();
/**
* Test method with intermediate future in future.
*/
public IFuture> methodB();
/**
* Test method with intermediate future in future.
*/
// public ITuple2Future ... > methodC();
/**
* Alternatives for implementing the createComponent method.
*/
// public Tuple2, IIntermediateFuture>> methodC();
// public ITuple2Future>> methodD();
// public IIntermediateFuture methodD();
}