All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.micro.testcases.longcall.ITestService Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.testcases.longcall;

import jadex.bridge.service.annotation.Timeout;
import jadex.commons.future.IFuture;
import jadex.commons.future.IIntermediateFuture;
import jadex.commons.future.IPullIntermediateFuture;
import jadex.commons.future.IPullSubscriptionIntermediateFuture;
import jadex.commons.future.ISubscriptionIntermediateFuture;
import jadex.commons.future.ITerminableFuture;

/**
 *  Test interface that has a timeout annotation specifying
 *  the default timeout. In the test the timeout is provided
 *  by the caller via the non-functional properties in the
 *  ServiceCall object (CallLocal).
 */
public interface ITestService
{
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public IFuture method1();
	
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public ITerminableFuture method2();
	
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public IIntermediateFuture method3();
	
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public ISubscriptionIntermediateFuture method4();
	
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public IPullIntermediateFuture method5();
	
	/**
	 *  A test method.
	 */
	@Timeout(2000)
	public IPullSubscriptionIntermediateFuture method6();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy