xdrpp
RFC4506 XDR compiler and message library
|
Listens for connections on a TCP socket (optionally registering the socket with rpcbind
), and then serves one or more program/version interfaces to accepted connections.
More...
#include <server.h>
Public Attributes | |
pollset & | ps_ |
Protected Member Functions | |
rpc_tcp_listener_common (pollset &ps, unique_sock &&s, bool use_rpcbind=false) | |
rpc_tcp_listener_common (pollset &ps) | |
virtual void * | session_alloc (rpc_sock *)=0 |
virtual void | session_free (void *session)=0 |
Protected Member Functions inherited from xdr::rpc_server_base | |
void | register_service_base (service_base *s) |
Protected Attributes | |
unique_sock | listen_sock_ |
const bool | use_rpcbind_ |
Additional Inherited Members | |
Public Member Functions inherited from xdr::rpc_server_base | |
void | dispatch (void *session, msg_ptr m, service_base::cb_t reply) |
Listens for connections on a TCP socket (optionally registering the socket with rpcbind
), and then serves one or more program/version interfaces to accepted connections.