xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | Public Attributes | List of all members
xdr::call_result< T > Struct Template Reference

A unique_ptr to a call result, or NULL if the call failed (in which case message returns an error message). More...

#include <arpc.h>

Inheritance diagram for xdr::call_result< T >:
Inheritance graph
[legend]
Collaboration diagram for xdr::call_result< T >:
Collaboration graph
[legend]

Public Member Functions

 call_result (const rpc_msg &hdr)
 
 call_result (rpc_call_stat::stat_type type)
 
const char * message () const
 
template<typename _port_T , typename _res_T , typename = typename std::enable_if<std::is_constructible<std::uint32_t, _port_T>::value && std::is_constructible<xdr::opaque_vec<>, _res_T>::value >::type>
 call_result (_port_T &&_port, _res_T &&_res)
 

Public Attributes

rpc_call_stat stat_
 
std::uint32_t port {}
 
xdr::opaque_vec res {}
 

Detailed Description

template<typename T>
struct xdr::call_result< T >

A unique_ptr to a call result, or NULL if the call failed (in which case message returns an error message).

Definition at line 16 of file arpc.h.


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