public class MultiplyServiceMethod extends ServiceMethod
VNumber
s.ServiceMethod.DataDescription
Constructor and Description |
---|
MultiplyServiceMethod(ServiceMethodDescription serviceMethodDescription,
ServiceDescription serviceDescription)
Creates a service method for multiplying
VNumber s 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, toString
public MultiplyServiceMethod(ServiceMethodDescription serviceMethodDescription, ServiceDescription serviceDescription)
VNumber
s 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)
ServiceMethod
The implementation should return the value in case of success, or throw an exception in case of failure.
syncExecImpl
in class ServiceMethod
parameters
- the parameters for the method; not nullCopyright © 2015. All rights reserved.