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

jadex.micro.testcases.ICService 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;

import jadex.bridge.service.annotation.Reference;
import jadex.commons.future.IFuture;
import jadex.commons.future.IIntermediateFuture;

/**
 *  Test if parameter call-by-copy and call-by-reference work (in local case).
 */
public interface ICService
{
	/**
	 *  Test if an argument can be passed by reference.
	 */
	public IFuture testArgumentReference(@Reference Object arg, int arghash);
	
	/**
	 *  Test if an argument can be passed by copy.
	 */
	public IFuture testArgumentCopy(Object arg, int arghash);
	
	/**
	 *  Test if result value can be passed by reference.
	 */
	public @Reference IFuture testResultReference(@Reference Object arg);
	
	/**
	 *  Test if result value can be passed by copy.
	 */
	public IFuture testResultCopy(@Reference Object arg);
	
	/**
	 *  Test if result value can be passed by reference.
	 */
	public @Reference IIntermediateFuture testResultReferences(@Reference Object[] args);
	
	/**
	 *  Test if result value can be passed by copy.
	 */
	public IIntermediateFuture testResultCopies(@Reference Object[] args);
}