MOS Source Code
|
#include <rpc_server++.hpp>
Public Member Functions | |
RPCServer (const std::string &server_name, const rpc_function_info_t *functions, size_t count) | |
virtual | ~RPCServer () |
void | run () |
std::string | get_name () const |
Protected Member Functions | |
virtual rpc_result_code_t | dispatcher (rpc_context_t *context, u32 funcid)=0 |
virtual void | on_connect (rpc_context_t *) |
virtual void | on_disconnect (rpc_context_t *) |
template<typename T > | |
T * | get_data (rpc_context_t *context) |
template<typename T > | |
void | set_data (rpc_context_t *context, T *data) |
Private Attributes | |
rpc_server_t * | server |
std::string | server_name |
Definition at line 14 of file rpc_server++.hpp.
|
inlineexplicit |
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 61 of file rpc_server++.hpp.
|
protectedpure virtual |
|
inlineprotectedvirtual |
Definition at line 69 of file rpc_server++.hpp.
|
inlineprotectedvirtual |
Definition at line 73 of file rpc_server++.hpp.
|
inlineprotected |
|
inlineprotected |
|
private |
Definition at line 91 of file rpc_server++.hpp.
Referenced by RPCServer(), run(), and ~RPCServer().
|
private |
Definition at line 92 of file rpc_server++.hpp.
Referenced by get_name(), and RPCServer().