xdrpp
RFC4506 XDR compiler and message library
Public Types | Public Member Functions | Public Attributes | List of all members
xdr::rpc_call_stat Struct Reference

Structure encoding all the various reasons a server can decline to process an RPC call it received. More...

#include <exception.h>

Public Types

enum  stat_type {
  ACCEPT_STAT, AUTH_STAT, RPCVERS_MISMATCH, GARBAGE_RES,
  NETWORK_ERROR, BAD_ALLOC
}
 

Public Member Functions

Constexpr rpc_call_stat (accept_stat s)
 
Constexpr rpc_call_stat (auth_stat s)
 
Constexpr rpc_call_stat (stat_type type)
 
 rpc_call_stat (const rpc_msg &hdr)
 
const char * message () const
 
 operator bool () const
 

Public Attributes

stat_type type_
 
union {
   accept_stat   accept_
 
   auth_stat   auth_
 
}; 
 

Detailed Description

Structure encoding all the various reasons a server can decline to process an RPC call it received.

Definition at line 28 of file exception.h.


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