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