|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMathService
Simple interface for a component service.
| Field Summary |
|---|
| Fields inherited from interface jadex.commons.service.IService |
|---|
EMPTY_SERVICES |
| Method Summary | |
|---|---|
int |
addB(int a,
int b)
Tests a blocking call (should be avoided!). |
IFuture |
addNB(int a,
int b)
Tests a non-blocking call. |
IFuture |
divZero()
Tests a method that throws an exception. |
double |
getPi()
Tests a constant call, i.e. call without parameters are assumed to be constant so that their value can be cached on local side. |
void |
printMessage(String message)
Tests a void message call (default is asynchronous). |
| Methods inherited from interface jadex.commons.service.IService |
|---|
getPropertyMap, getServiceIdentifier, signalStarted |
| Method Detail |
|---|
IFuture addNB(int a,
int b)
a - First number.b - Second number.
int addB(int a,
int b)
a - First number.b - Second number.
double getPi()
void printMessage(String message)
message - The message.IFuture divZero()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||