xdrpp
RFC4506 XDR compiler and message library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xdr::service_base Struct Referenceabstract
Inheritance diagram for xdr::service_base:
Inheritance graph
[legend]
Collaboration diagram for xdr::service_base:
Collaboration graph
[legend]

Public Types

using cb_t = std::function< void(msg_ptr)>
 

Public Member Functions

 service_base (uint32_t prog, uint32_t vers)
 
virtual void process (void *session, rpc_msg &hdr, xdr_get &g, cb_t reply)=0
 
bool check_call (const rpc_msg &hdr)
 

Static Public Member Functions

template<typename T >
static bool decode_arg (xdr_get &g, T &arg)
 

Public Attributes

const uint32_t prog_
 
const uint32_t vers_
 

Detailed Description

Definition at line 188 of file server.h.


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