xdrpp
RFC4506 XDR compiler and message library
|
Attach RPC services to a single, connected stream socket. More...
#include <srpc.h>
Public Member Functions | |
srpc_server (sock_t s, bool close_on_destruction=true) | |
template<typename T , typename Interface = typename T::rpc_interface_type> | |
void | register_service (T &t) |
Add objects implementing RPC program interfaces to the server. | |
void | run () |
Start serving requests. (Loops until an exception.) | |
Public Member Functions inherited from xdr::rpc_server_base | |
void | dispatch (void *session, msg_ptr m, service_base::cb_t reply) |
Additional Inherited Members | |
Protected Member Functions inherited from xdr::rpc_server_base | |
void | register_service_base (service_base *s) |
Attach RPC services to a single, connected stream socket.
No procedures will be implemented by the RPC server until interface objects are reigstered with register_server
.