public class MultiplyServiceMethod extends ServiceMethod
VNumbers.ServiceMethod.DataDescription| Constructor and Description |
|---|
MultiplyServiceMethod(ServiceMethodDescription serviceMethodDescription,
ServiceDescription serviceDescription)
Creates a service method for multiplying
VNumbers together. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
syncExecImpl(Map<String,Object> parameters)
Synchronous implementation of the service method.
|
asyncExecImpl, executeAsync, executeSync, getArgumentMap, getArguments, getDescription, getName, getResultMap, getResults, toStringpublic MultiplyServiceMethod(ServiceMethodDescription serviceMethodDescription, ServiceDescription serviceDescription)
VNumbers together.serviceMethodDescription - the description of the multiply service
method, can't be nullserviceDescription - the description of the math service; can't be
nullpublic Map<String,Object> syncExecImpl(Map<String,Object> parameters)
ServiceMethodThe implementation should return the value in case of success, or throw an exception in case of failure.
syncExecImpl in class ServiceMethodparameters - the parameters for the method; not nullCopyright © 2015. All rights reserved.