RpcRequest

public final class RpcRequest implements JsonString

Fields

METHOD_CLOSE_CLIENT

public static final String METHOD_CLOSE_CLIENT

METHOD_CLOSE_DEVICE

public static final String METHOD_CLOSE_DEVICE

METHOD_GET_PROPERTY

public static final String METHOD_GET_PROPERTY

METHOD_OPEN_CLIENT

public static final String METHOD_OPEN_CLIENT

METHOD_OPEN_DEVICE

public static final String METHOD_OPEN_DEVICE

METHOD_SET_PROPERTY

public static final String METHOD_SET_PROPERTY

METHOD_WAIT

public static final String METHOD_WAIT

PARAMS_TYPE_LIST

public static final int PARAMS_TYPE_LIST

PARAMS_TYPE_OBJECT

public static final int PARAMS_TYPE_OBJECT

Methods

createFromJsonString

public static RpcRequest createFromJsonString(String json)

equals

public boolean equals(Object o)

getId

public Object getId()

getMethod

public String getMethod()

getParamsList

public JSONArray getParamsList()

getParamsObject

public JSONObject getParamsObject()

getParamsType

public int getParamsType()

getVersion

public String getVersion()

hashCode

public int hashCode()

toJsonString

public String toJsonString()