Apache Mesos
Classes | Namespaces | Macros | Functions
grpc.hpp File Reference
#include <chrono>
#include <memory>
#include <ostream>
#include <string>
#include <thread>
#include <type_traits>
#include <utility>
#include <google/protobuf/message.h>
#include <grpcpp/grpcpp.h>
#include <process/check.hpp>
#include <process/dispatch.hpp>
#include <process/future.hpp>
#include <process/pid.hpp>
#include <process/process.hpp>
#include <stout/duration.hpp>
#include <stout/error.hpp>
#include <stout/lambda.hpp>
#include <stout/nothing.hpp>
#include <stout/stringify.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Classes

class  process::grpc::StatusError
 Represents errors caused by non-OK gRPC statuses. More...
 
struct  process::grpc::client::internal::MethodTraits< T >
 
struct  process::grpc::client::internal::MethodTraits< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)>
 
class  process::grpc::client::Connection
 A copyable interface to manage a connection to a gRPC server. More...
 
struct  process::grpc::client::CallOptions
 Defines the gRPC options for each call. More...
 
class  process::grpc::client::Runtime
 A copyable interface to manage an internal runtime process for asynchronous gRPC calls. More...
 

Namespaces

 grpc
 
 process
 
 process::grpc
 
 process::grpc::client
 
 process::grpc::client::internal
 

Macros

#define GRPC_CLIENT_METHOD(service, rpc)   (&service::Stub::PrepareAsync##rpc)
 

Functions

std::ostream & grpc::operator<< (std::ostream &stream, StatusCode statusCode)
 

Macro Definition Documentation

#define GRPC_CLIENT_METHOD (   service,
  rpc 
)    (&service::Stub::PrepareAsync##rpc)