Package jadex.micro.regperf
Class ServiceProviderAgent
- java.lang.Object
-
- jadex.micro.regperf.ServiceProviderAgent
-
- All Implemented Interfaces:
IExampleService
public class ServiceProviderAgent extends java.lang.Object implements IExampleService
Agent that starts a service-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccessagentThe internal access.protected intcount
-
Constructor Summary
Constructors Constructor Description ServiceProviderAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteBody()Perform the agents actions.IFuture<java.lang.String>sayHello(java.lang.String name)Say hello method.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The internal access.
-
count
protected int count
-
-
Method Detail
-
executeBody
public void executeBody()
Perform the agents actions.
-
sayHello
public IFuture<java.lang.String> sayHello(java.lang.String name)
Say hello method.- Specified by:
sayHelloin interfaceIExampleService- Parameters:
name- The name.
-
-