public interface IMathService extends IService
EMPTY_SERVICES| Modifier and Type | Method and Description |
|---|---|
int |
addB(int a,
int b)
Tests a blocking call (should be avoided!).
|
IFuture<Integer> |
addNB(int a,
int b)
Tests a non-blocking call.
|
IFuture<Void> |
divZero()
Tests a method that throws an exception.
|
double |
getPi()
Tests a constant call, i.e.
|
void |
printMessage(String message)
Tests a void message call (default is asynchronous).
|
getPropertyMap, getServiceIdentifier, isValidaddNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty, shutdownNFPropertyProvideraddMethodNFProperty, getMethodNFAllPropertyNames, getMethodNFPropertyMetaInfo, getMethodNFPropertyMetaInfos, getMethodNFPropertyMetaInfos, getMethodNFPropertyNames, getMethodNFPropertyValue, getMethodNFPropertyValue, removeMethodNFProperty, shutdownNFPropertyProviderIFuture<Integer> 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.Copyright © 2013. All Rights Reserved.