public class MultiServiceAgent extends java.lang.Object implements IAddService, ISubService
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IInternalAccess |
agent |
| Constructor and Description |
|---|
MultiServiceAgent() |
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture |
add(double a,
double b)
Add two numbers.
|
jadex.commons.future.IFuture<java.lang.Void> |
executeBody()
Search for the two services and check if they work as expected.
|
jadex.commons.future.IFuture |
sub(double a,
double b)
Subtract two numbers.
|
public jadex.commons.future.IFuture<java.lang.Void> executeBody()
public jadex.commons.future.IFuture add(double a,
double b)
add in interface IAddServicea - Number one.b - Number two.public jadex.commons.future.IFuture sub(double a,
double b)
sub in interface ISubServicea - Number one.b - Number two.