#include <server.h>
|
| | CRPCCommand (std::string category, std::string name, Actor actor, std::vector< std::string > args, intptr_t unique_id) |
| | Constructor taking Actor callback supporting multiple handlers. More...
|
| |
| | CRPCCommand (std::string category, std::string name_in, RpcMethodFnType fn, std::vector< std::string > args_in) |
| | Simplified constructor taking plain RpcMethodFnType function pointer. More...
|
| |
| | CRPCCommand (const char *category, const char *name, rpcfn_type fn, std::initializer_list< const char * > args) |
| | Simplified constructor taking plain rpcfn_type function pointer. More...
|
| |
Definition at line 91 of file server.h.
RPC method handler reading request and assigning result.
Should return true if request is fully handled, false if it should be passed on to subsequent handlers.
Definition at line 97 of file server.h.
| CRPCCommand::CRPCCommand |
( |
std::string |
category, |
|
|
std::string |
name, |
|
|
Actor |
actor, |
|
|
std::vector< std::string > |
args, |
|
|
intptr_t |
unique_id |
|
) |
| |
|
inline |
Constructor taking Actor callback supporting multiple handlers.
Definition at line 100 of file server.h.
| CRPCCommand::CRPCCommand |
( |
std::string |
category, |
|
|
std::string |
name_in, |
|
|
RpcMethodFnType |
fn, |
|
|
std::vector< std::string > |
args_in |
|
) |
| |
|
inline |
Simplified constructor taking plain RpcMethodFnType function pointer.
Definition at line 107 of file server.h.
| CRPCCommand::CRPCCommand |
( |
const char * |
category, |
|
|
const char * |
name, |
|
|
rpcfn_type |
fn, |
|
|
std::initializer_list< const char * > |
args |
|
) |
| |
|
inline |
Simplified constructor taking plain rpcfn_type function pointer.
Definition at line 120 of file server.h.
| std::vector<std::string> CRPCCommand::argNames |
| std::string CRPCCommand::category |
| std::string CRPCCommand::name |
| intptr_t CRPCCommand::unique_id |
The documentation for this class was generated from the following file: