xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | Protected Member Functions | List of all members
xdr::generic_rpc_tcp_listener< ServiceType, Session, SessionAllocator > Class Template Reference
Inheritance diagram for xdr::generic_rpc_tcp_listener< ServiceType, Session, SessionAllocator >:
Inheritance graph
[legend]
Collaboration diagram for xdr::generic_rpc_tcp_listener< ServiceType, Session, SessionAllocator >:
Collaboration graph
[legend]

Public Member Functions

 generic_rpc_tcp_listener (pollset &ps)
 
 generic_rpc_tcp_listener (pollset &ps, unique_sock &&s, bool use_rpcbind, SessionAllocator sa)
 
template<typename T , typename Interface = typename T::rpc_interface_type>
void register_service (T &t)
 Add objects implementing RPC program interfaces to the server.
 
- Public Member Functions inherited from xdr::rpc_server_base
void dispatch (void *session, msg_ptr m, service_base::cb_t reply)
 

Protected Member Functions

void * session_alloc (rpc_sock *s) override
 
void session_free (void *session) override
 
- Protected Member Functions inherited from xdr::rpc_tcp_listener_common
 rpc_tcp_listener_common (pollset &ps, unique_sock &&s, bool use_rpcbind=false)
 
 rpc_tcp_listener_common (pollset &ps)
 
- Protected Member Functions inherited from xdr::rpc_server_base
void register_service_base (service_base *s)
 

Additional Inherited Members

- Public Attributes inherited from xdr::rpc_tcp_listener_common
pollsetps_
 
- Protected Attributes inherited from xdr::rpc_tcp_listener_common
unique_sock listen_sock_
 
const bool use_rpcbind_
 

Detailed Description

template<template< typename, typename, typename > class ServiceType, typename Session, typename SessionAllocator>
class xdr::generic_rpc_tcp_listener< ServiceType, Session, SessionAllocator >

Definition at line 251 of file server.h.


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