ADTF
3.18.2
|
Template for mapping interfaces to a client stub. More...
Public Member Functions | |
jsonrpc_remote_interface (const ConnectorInitializer &oInitializer) | |
Constructor. More... | |
Protected Member Functions | |
Stub & | GetStub () const |
Access the rpc stub. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from cJSONConversions | |
static Json::Value | result_to_json (a_util::result::Result nResult) |
Get the Json::Value representation of an object of type a_util::result::Result. More... | |
static std::string | to_string (uint64_t nValue) |
Convert an unsigned integer to a string. More... | |
static std::string | to_string (int64_t nValue) |
Convert a signed integer to a string. More... | |
static a_util::result::Result | json_to_result (const Json::Value &oValue) |
Get the a_util::result::Result representation of an object of type Json::Value . More... | |
static uint64_t | stoull (const std::string &strValue) |
Convert a string to an unsigned integer. More... | |
static int64_t | stoll (const std::string &strValue) |
Convert a string to a signed integer. More... | |
Private Member Functions inherited from jsonrpc_remote_object< Stub, Connector, ConnectorInitializer > | |
jsonrpc_remote_object (const ConnectorInitializer &oInitializer) | |
Constructor. More... | |
Stub & | GetStub () const |
Access the rpc stub. More... | |
Template for mapping interfaces to a client stub.
Stub | The RPC stub to inherit from |
Interface | The interface to inherit from |
Connector | The connector to inherit from |
ConnectorInitializer | The connector initializer |
Definition at line 102 of file json_rpc.h.
|
inline |
Constructor.
[in] | oInitializer | An instance of the ConnectorInitializer . If using http then this is the HTTP url, e.g. http://localhost:8000/system |
Definition at line 36 of file json_rpc_impl.h.
|
inlineprotected |