xdrpp
RFC4506 XDR compiler and message library
Public Attributes | Protected Member Functions | Protected Attributes | List of all members
xdr::rpc_tcp_listener_common Class Referenceabstract

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>

Inheritance diagram for xdr::rpc_tcp_listener_common:
Inheritance graph
[legend]
Collaboration diagram for xdr::rpc_tcp_listener_common:
Collaboration graph
[legend]

Public Attributes

pollsetps_
 

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)
 

Detailed Description

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.

Definition at line 230 of file server.h.


The documentation for this class was generated from the following files: