Apache Mesos
Public Member Functions | Public Attributes | List of all members
process::grpc::RpcResult< T > Struct Template Reference

The response of a RPC call. More...

#include <grpc.hpp>

Public Member Functions

 RpcResult (const ::grpc::Status &_status, const T &_response)
 

Public Attributes

::grpc::Status status
 
response
 

Detailed Description

template<typename T>
struct process::grpc::RpcResult< T >

The response of a RPC call.

It includes the gRPC Status (https://grpc.io/grpc/cpp/classgrpc_1_1_status.html), and the actual protobuf response body.

Constructor & Destructor Documentation

template<typename T >
process::grpc::RpcResult< T >::RpcResult ( const ::grpc::Status &  _status,
const T &  _response 
)
inline

Member Data Documentation

template<typename T >
T process::grpc::RpcResult< T >::response
template<typename T >
::grpc::Status process::grpc::RpcResult< T >::status

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