Apache Mesos
Public Member Functions | Friends | List of all members
process::grpc::Channel Class Reference

A copyable interface to manage a connection to a gRPC server. More...

#include <grpc.hpp>

Public Member Functions

 Channel (const std::string &uri, const std::shared_ptr<::grpc::ChannelCredentials > &credentials=::grpc::InsecureChannelCredentials())
 

Friends

class client::Runtime
 

Detailed Description

A copyable interface to manage a connection to a gRPC server.

All Channel copies share the same connection. Note that the connection is established lazily by the gRPC runtime library: the actual connection is delayed till an RPC call is made.

Constructor & Destructor Documentation

process::grpc::Channel::Channel ( const std::string &  uri,
const std::shared_ptr<::grpc::ChannelCredentials > &  credentials = ::grpc::InsecureChannelCredentials() 
)
inline

Friends And Related Function Documentation

friend class client::Runtime
friend

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