kodi
|
![]() |
Classes | |
class | JSONRPC::CJSONRPC |
JSON RPC handler. More... | |
class | JSONRPC::JSONSchemaTypeDefinition |
Class for a parameter of a json rpc method. More... | |
class | JSONRPC::JsonRpcMethod |
Structure for a published json rpc method. More... | |
struct | JSONRPC::JsonRpcMethodMap |
Structure mapping a json rpc method definition to an actual method implementation. More... | |
class | JSONRPC::CJSONServiceDescription |
Helper class for json schema service descriptor based service descriptions for the json rpc API. More... | |
class | JSONRPC::CJSONUtils |
Helper class containing utility methods to handle json rpc method calls. More... | |
Enumerations | |
enum | JSONRPC::JSONRPC_STATUS { OK = 0, ACK = -1, InvalidRequest = -32600, MethodNotFound = -32601, InvalidParams = -32602, InternalError = -32603, ParseError = -32700, BadPermission = -32099, FailedToExecute = -32100 } |
Possible statuc codes of a response to a JSON-RPC request. | |
enum | JSONRPC::OperationPermission { ReadData = 0x1, ControlPlayback = 0x2, ControlNotify = 0x4, ControlPower = 0x8, UpdateData = 0x10, RemoveData = 0x20, Navigate = 0x40, WriteFile = 0x80, ControlSystem = 0x100, ControlGUI = 0x200, ManageAddon = 0x400, ExecuteAddon = 0x800, ControlPVR = 0x1000 } |
Permission categories for json rpc methods. More... | |
Everything around the json-rpc interface
Permission categories for json rpc methods.
A JSON-RPC method will only be called if the caller has the correct permissions to execute the method. The method call needs to be perfectly threadsafe.