xdrpp
RFC4506 XDR compiler and message library
|
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>
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 {} |
A unique_ptr
to a call result, or NULL if the call failed (in which case message
returns an error message).