public class PojoAddService extends java.lang.Object implements IAddService
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
comp
The service provider.
|
protected jadex.bridge.service.IServiceIdentifier |
sid
The service identifier.
|
Constructor and Description |
---|
PojoAddService() |
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture |
add(double a,
double b)
Add two numbers.
|
jadex.commons.future.IFuture |
shutdown() |
jadex.commons.future.IFuture |
start() |
protected jadex.bridge.service.IServiceIdentifier sid
protected jadex.bridge.IInternalAccess comp
public jadex.commons.future.IFuture add(double a, double b)
add
in interface IAddService
a
- Number one.b
- Number two.public jadex.commons.future.IFuture start()
public jadex.commons.future.IFuture shutdown()