org.json.rpc.server
Class JsonRpcExecutor
java.lang.Object
org.json.rpc.server.JsonRpcExecutor
- All Implemented Interfaces:
- RpcIntroSpection
public final class JsonRpcExecutor
- extends Object
- implements RpcIntroSpection
JsonRpcExecutor
public JsonRpcExecutor()
JsonRpcExecutor
public JsonRpcExecutor(TypeChecker typeChecker)
isLocked
public boolean isLocked()
addHandler
public <T> void addHandler(String name,
T handler,
Class<T>... classes)
execute
public void execute(JsonRpcServerTransport transport)
canExecute
public boolean canExecute(Method method,
com.google.gson.JsonArray params)
getParameters
public Object[] getParameters(Method method,
com.google.gson.JsonArray params)
listMethods
public String[] listMethods()
- Specified by:
listMethods in interface RpcIntroSpection
methodSignature
public String[] methodSignature(String method)
- Specified by:
methodSignature in interface RpcIntroSpection
Copyright © 2011 DevelNix. All Rights Reserved.