public abstract class ServiceMethod extends Object
Constructor and Description |
---|
ServiceMethod(ServiceMethodDescription serviceMethodDescription) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Map<String,Object> parameters,
WriteFunction<Map<String,Object>> callback,
WriteFunction<Exception> errorCallback) |
abstract void |
executeMethod(Map<String,Object> parameters,
WriteFunction<Map<String,Object>> callback,
WriteFunction<Exception> errorCallback) |
Map<String,String> |
getArgumentDescriptions() |
Map<String,Class<?>> |
getArgumentTypes() |
String |
getDescription() |
String |
getName() |
Map<String,String> |
getResultDescriptions() |
Map<String,Class<?>> |
getResultTypes() |
public ServiceMethod(ServiceMethodDescription serviceMethodDescription)
public final String getName()
public final String getDescription()
public final void execute(Map<String,Object> parameters, WriteFunction<Map<String,Object>> callback, WriteFunction<Exception> errorCallback)
public abstract void executeMethod(Map<String,Object> parameters, WriteFunction<Map<String,Object>> callback, WriteFunction<Exception> errorCallback)
Copyright © 2010–2015. All rights reserved.