jadex.micro.servicecall.RawServiceCallService 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.servicecall;
import jadex.bridge.IComponentIdentifier;
import jadex.bridge.service.BasicService;
import jadex.bridge.service.annotation.Service;
import jadex.commons.future.IFuture;
/**
* Implementation of a service.
*/
@Service
public class RawServiceCallService extends BasicService implements IServiceCallService
{
/**
* Basic service constructor.
*/
public RawServiceCallService(IComponentIdentifier providerid)
{
super(providerid, IServiceCallService.class, null);
}
/**
* Dummy method for service call benchmark.
*/
public IFuture call()
{
return IFuture.DONE;
}
}