protected class JsonRpcHandler.Job extends Object implements Callable<JSONObject>
| Modifier and Type | Field and Description |
|---|---|
protected GadgetContext |
context |
| Constructor and Description |
|---|
JsonRpcHandler.Job(GadgetContext context) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
call() |
protected JSONObject |
getGadgetJson(Gadget gadget,
GadgetSpec spec) |
protected final GadgetContext context
public JsonRpcHandler.Job(GadgetContext context)
public JSONObject call() throws RpcException
call in interface Callable<JSONObject>RpcExceptionprotected JSONObject getGadgetJson(Gadget gadget, GadgetSpec spec) throws JSONException
JSONExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.