kodi
|
JSON RPC handler. More...
#include <JSONRPC.h>
Static Public Member Functions | |
static void | Initialize () |
Initializes the JSON-RPC handler. | |
static void | Cleanup () |
static std::string | MethodCall (const std::string &inputString, ITransportLayer *transport, IClient *client) |
static JSONRPC_STATUS | Introspect (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | Version (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | Permission (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | Ping (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | GetConfiguration (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | SetConfiguration (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
static JSONRPC_STATUS | NotifyAll (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
JSON RPC handler.
Sets up and manages all needed information to process JSON-RPC requests and answering with the appropriate JSON-RPC response (actual response or error message).