#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, RpcMethodFnType _fn) |
| Simplified constructor taking plain RpcMethodFnType function pointer. More...
|
|
Definition at line 146 of file server.h.
◆ Actor
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 151 of file server.h.
◆ CRPCCommand() [1/2]
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 156 of file server.h.
◆ CRPCCommand() [2/2]
Simplified constructor taking plain RpcMethodFnType function pointer.
Definition at line 163 of file server.h.
◆ actor
◆ argNames
std::vector<std::string> CRPCCommand::argNames |
◆ category
std::string CRPCCommand::category |
◆ name
std::string CRPCCommand::name |
◆ unique_id
intptr_t CRPCCommand::unique_id |
The documentation for this class was generated from the following file: