MIRA
Public Member Functions | Public Attributes | List of all members
RPCCallDefinition Struct Reference

Stores info required to call an RPC method - service name, method name, arguments. More...

#include <rpc/RPCCallDefinition.h>

Public Member Functions

 RPCCallDefinition ()
 
 RPCCallDefinition (const std::string &iService, const std::string &iMethod, const std::string &iParams="")
 
template<typename Reflector >
void reflect (Reflector &r)
 

Public Attributes

std::string service
 The service's name. More...
 
std::string method
 The method's name. More...
 
std::string params
 The parameters as JSON array (note: without enclosing []) More...
 

Detailed Description

Stores info required to call an RPC method - service name, method name, arguments.

Constructor & Destructor Documentation

◆ RPCCallDefinition() [1/2]

RPCCallDefinition ( )
inline

◆ RPCCallDefinition() [2/2]

RPCCallDefinition ( const std::string &  iService,
const std::string &  iMethod,
const std::string &  iParams = "" 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ service

std::string service

The service's name.

◆ method

std::string method

The method's name.

◆ params

std::string params

The parameters as JSON array (note: without enclosing [])


The documentation for this struct was generated from the following file: