kodi
Static Public Member Functions | List of all members
JSONRPC::CJSONRPC Class Reference

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 &parameterObject, CVariant &result)
 
static JSONRPC_STATUS Version (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 
static JSONRPC_STATUS Permission (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 
static JSONRPC_STATUS Ping (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 
static JSONRPC_STATUS GetConfiguration (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 
static JSONRPC_STATUS SetConfiguration (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 
static JSONRPC_STATUS NotifyAll (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
 

Detailed Description

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).


The documentation for this class was generated from the following files: